Chirubot
(Bot)
October 12, 2020, 8:45am
#1
Hi everyone,
I am new to Dynamic Components
I started to explore by downloading Dynamic Components by @yusufcihan
and referred the guide on List View on Dynamic Components by @themaayur .
I tried to make an app which displays there Names and Numbers using Dynamic Components with the help of that guide.
I am facing an error as
I understand that error that it is telling that I have repeated an id again in Dynamic Components but I have not repeated as you can see in my blocks below
I not able to understand what’s going wrong.
Please help me to resolve this.
themaayur
(Mayur Berad)
October 12, 2020, 9:40am
#2
Your blocks seems to be correct, try debugging your app by disabling all blocks and enable one by one.
Don’t use global Id + 1 in create block, use only global Id
And move the global id variable above the create block.
Chirubot
(Bot)
October 12, 2020, 2:38pm
#3
Thanks @themaayur for your suggestion,
I removed the second procedure and added them in the first procedure with another tag, it worked the error stopped but nevertheless I encountered with another error at the
Blocks
when Screen4
.Intialize
do for each item in list get Namelist
do call List
Name get item
Number2 empty
My Blocks
Any solutions to resolve.
themaayur
(Mayur Berad)
October 12, 2020, 4:04pm
#4
If you don’t need the parameter, then remove it 🤷
Chirubot
(Bot)
October 12, 2020, 4:57pm
#5
No @themaayur I need the Parameter
I want something like this but without using for each item in list twice.
For better Understanding see this Image Below
This is my App I am trying to do, an Item shows name and their number both of them should be in one item.
I am also face same problem ( Runtime Error)
I really don’t know what’s wrong here… Please help
My block
ADDYLIN
(ADDYLIN)
October 13, 2020, 7:00am
#8
can i get the .aia of the procedure
Chirubot
(Bot)
October 31, 2020, 7:30am
#9
@ADDYLIN , Well it worked when I make a list in the blocks but when I get the values from firebase it repeats.
ADDYLIN
(ADDYLIN)
October 31, 2020, 7:38am
#10
@Chirubot i am not getting you correctly,
can you elaborate more on your Problem.
ADDYLIN
(ADDYLIN)
October 31, 2020, 8:48am
#12
the Blocks are Blurry, but from what i can see
you are placing for each number loop at the end of got value block, without any condition
so it is getting executed everytime when value is got
That’s why the Data is Repeating.
Chirubot
(Bot)
October 31, 2020, 9:00am
#13
It’s because first I am getting all the values from Firebase, then storing them in the variables and then I am adding them in the list.
Help Me…
Way this error are coming…
When i am scroling list viwe then this error showing… But app is work properly
This error occurs when I scroll the screen … but this error does not affect the app … the app is running well …
I don’t understand, if the app is working properly then why this error is coming …?
My blocks…
Click Category
when got value then storing value in variable…
After call loop
When i am scrolling the list viwe, then only this error comes, otherwise it dose not come…but app worked properly…
please help me…how can i fix it…?
I think this error occurred because you entered space in component ids Like Card Custom
1 Like
@Unknown_Designer Thanks…
I will check… …
1 Like
I tried this but still the same error is coming…
Hello… All kodular Creators…
How can i fix this error…?
system
(system)
Closed
December 16, 2020, 1:36am
#19
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.