[F/OS] - Dynamic Components Extension (for every component) 2.3.0

I hope, the answer is Nope. Because this extension is used to create components… Variable never be a component

Sorry, it is known that sprites has problems when they dynamically generated. When this issue reported first, the extension had (and still has) custom initialization for sprites. But it is sad to hear the issue still persists, I will see what can I do with it.

Nope, it is better to use dictionaries for this purpose.

1 Like

with dictionaries is it possible to create global variables in programming? if yes, can you give me an example?
Thank you

How to clear dynamic list view to load new data to same list view

As your question has nothing to do with this extension, you may want to open a new topic.

Continuing the discussion from [F/OS] - Dynamic Components Extension (for every component) 2.2.2:

when i create this list, app gating close

Category Schema

{
  "name": "sub_cat_ls_arr",
  "metadata-version": 1,
  "extension_version": 5,
  "author": "<your name>",
  "platforms": [
    "creator.kodular.io"
  ],
  "keys": [
    "id",
    "title"
  ],
  "components": [
    {
      "id": "cat_main_arr{id}",
      "type": "VerticalArrangement",
      "properties": {
        "BackgroundColor": 16777215,
        "Width": -2
      },
      "components": [
        {
          "id": "Space4_copy_copy_copy{id}",
          "type": "SpaceView",
          "properties": {
            "Height": 10
          }
        },
        {
          "id": "Horizontal_Arrangement1_copy_copy_copy{id}",
          "type": "HorizontalArrangement",
          "properties": {
            "AlignHorizontal": 3,
            "AlignVertical": 2,
            "BackgroundColor": 16777215,
            "Width": -2
          },
          "components": [
            {
              "id": "Space5_copy_copy_copy{id}",
              "type": "SpaceView",
              "properties": {
                "Width": 10
              }
            },
            {
              "id": "cat_txt{id}",
              "type": "Label",
              "properties": {
                "FontBold": true,
                "Text": "{title}",
                "TextColor": -1
              }
            },
            {
              "id": "Space6_copy_copy_copy{id}",
              "type": "SpaceView",
              "properties": {
                "Width": -2
              }
            },
            {
              "id": "see_more_btn{id}",
              "type": "Label",
              "properties": {
                "Clickable": true,
                "FontBold": true,
                "Text": "SEE MORE",
                "TextColor": -16537101
              }
            },
            {
              "id": "Space7_copy_copy_copy{id}",
              "type": "SpaceView",
              "properties": {
                "Width": 10
              }
            }
          ]
        },
        {
          "id": "Space8_copy_copy_copy{id}",
          "type": "SpaceView",
          "properties": {
            "Height": 10
          }
        },
        {
          "id": "Vertical_Arrangement3_copy_copy_copy{id}",
          "type": "VerticalArrangement",
          "properties": {
            "BackgroundColor": -10395295,
            "Height": 1,
            "Width": -2
          }
        },
        {
          "id": "Space9_copy_copy_copy{id}",
          "type": "SpaceView",
          "properties": {
            "Height": 5
          }
        },
        {
          "id": "content_ls_arr{id}",
          "type": "HorizontalScrollArrangement",
          "properties": {
            "AlignVertical": 2,
            "BackgroundColor": 16777215,
            "Width": -2,
            "Scrollbar": false
          }
        }
      ]
    }
  ]
}

Into category list schema

{
  "name": "Viral_Player",
  "metadata-version": 1,
  "extension_version": 5,
  "author": "<your name>",
  "platforms": [
    "creator.kodular.io"
  ],
  "keys": [
    "id",
    "thumbnail_image",
    "tag_image"
  ],
  "components": [
    {
      "id": "card{id}",
      "type": "MakeroidCardView",
      "properties": {
        "AlignHorizontal": 3,
        "AlignVertical": 2,
        "ContentPaddingBottom": 0,
        "ContentPaddingLeft": 0,
        "ContentPaddingRight": 0,
        "ContentPaddingTop": 0,
        "CornerRadius": 8,
        "FullClickable": true,
        "Height": -1030,
        "Width": -1042
      },
      "components": [
        {
          "id": "thumbnail_arr{id}",
          "type": "VerticalArrangement",
          "properties": {
            "Height": -2,
            "Width": -2,
            "Image": "{thumbnail_image}"
          },
          "components": [
            {
              "id": "tag_arr{id}",
              "type": "VerticalArrangement",
              "properties": {
                "Height": -2,
                "Width": -2,
                "Image": "{tag_image}"
              }
            }
          ]
        }
      ]
    }
  ]
}

Blocks

Databse MYSQL

Do you mean when you use the schema, the app crashes or closes? If so, can you try it in an empty project?

Alright, if you could let me know when this is fixed that would be great. Right now I am just using clocks to change the Y pos over time

Use the any component block for the balls and use the ‘move’ block. I have an app that uses hundreds of balls and they move.

Hey, if i create a ImageSprite inside a Canvas the “when any ImageSprite.collidedwith” wont be triggered. If i create a ImageSprite by the Designer it will trigger the event, even if it collides with dynamic ImageSprites. If a Dynamic ImageSprite collides with another Dynamic ImageSprite the Event wont be triggered.

Here is a AIA to test:
ImageSpriteCollision.aia (143,4 KB)

no…

but i gett solution

Not with this but with dynamic variable extension , For making comment I recommend you to use mysql and create table for every post comments and fetch the table when needs , Therefore the logic is simple
@Moderator please split this topic because it is not related to dynamic component extension

Sorry to bother again, but the sprites being generated from a laser and a box spawn don’t seem to have collision detection at all.

1 Like

Hey i am using the same extension for making costume list view but need help in one case…can anyone tell me how can i add the new value to to index 1 and replace previous index 1 value to index 2.
For example:
List:-
Index 1=A
Index 2=B
Index 3=C

Now I add value D in list:
Now what i want is:
List:-
Index 1=D
Index 2= A
Index 3 = B
Index 4 = C

But Without refreshing the screen i mean A,B,C will remain same but only D will add at the top and index will change of every list item.

@webcomments7

This block will help you :point_down:
Use index = 1 if you want dy component D to be created on top, even its generated after dy component C

Screenshot_7

1 Like

@yusufcihan :wave:
There is something wrong with my app. I use the dynamic component extension, when I click the first card the notifier shows that the id is 37.
and when I use another phone, when I click the first card the notifier shows that the id is 25
{E45A39AE-1D6B-4F49-AC48-28DFB5B48EE7}.png

Show your blocks ? Are you using generate id block ?

make sure you are clicking cardview or any label… also cross check with your procedure… Because we dont find any difficulty with such wonderful extension…

1 Like

Are you using generate id block ?
[/quote] No I just use create block

I am sure that I click card view 1
I used this wonderful extension many times in another app
there is no problem
I do not know why that happens in this app