Avijit
(Avijit Das)
November 12, 2021, 5:31pm
#6
Rogerio_Rios:
For remove :
He not using dynamicComponents
Remove this line
Tony2
(Tony)
November 12, 2021, 5:31pm
#7
Ok, I see the pic.
Lets try tat
Lets do one thing at a time…
Thanks
1 Like
Ok… But ideally, he was using it ( dynamic extension) …
Tony2
(Tony)
November 12, 2021, 5:37pm
#9
Where do I find that block?
The block I showed you is wrong. Not for ‘kodular dynamic cardview’ . The block I showed you is for components created with the dynamic components extension.
Dynamic Components Extension
that supports every component in your AI2 distribution, instead of having pre-defined components.
I thought about making a full method to create all dynamic components without creating different blocks for every component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create…
Forget him.
Avijit
(Avijit Das)
November 12, 2021, 5:40pm
#12
You cannot found this block in Dynamic_Card_View
components
To get this block. you need to use this extension
Dynamic Components Extension
that supports every component in your AI2 distribution, instead of having pre-defined components.
I thought about making a full method to create all dynamic components without creating different blocks for every component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create…
Tony2
(Tony)
November 12, 2021, 5:49pm
#14
Ok, so I downloaded the extension, made the change
NO DIFFS
As for what I want to I want that when I press one of three buttons that the List get updated with the new data.
Avijit
(Avijit Das)
November 12, 2021, 5:58pm
#15
Call your data by this method (When your user open the app)
Update your data by this method
After get data from database
Tony2
(Tony)
November 12, 2021, 6:07pm
#16
Thanks for that but what does it matter how I get the data seeing as thats not the problem
The problem is the display NOT updating
What am I not understanding???
Please fill me in
dora_paz
(Dora)
November 12, 2021, 6:12pm
#17
So actually you have one cardview with 3 labels inside. Correct ?
Tony2
(Tony)
November 12, 2021, 6:13pm
#18
Hi Dora
Yes, I have three buttons under the list and the purpose of each is to display different datasets
Thats it
t
Tony2
(Tony)
November 12, 2021, 6:19pm
#19
I have as many labels as i need
most time five labels. But the number of labels isnt the problem as those are all defined
Avijit
(Avijit Das)
November 12, 2021, 6:23pm
#22
What actually you doing man ?
Why you added this dynamicComponent block
Avijit
(Avijit Das)
November 12, 2021, 6:26pm
#23
First of all try to understand this three lines
Call your data by this method (When your user open the app)
[blocks]
Update your data by this method
[blocks]
After get data from database
[blocks]
1 Like
Tony2
(Tony)
November 12, 2021, 6:27pm
#24
because one guy said to???
Avijit
(Avijit Das)
November 12, 2021, 6:28pm
#25
Ok then go ahead with his method.
1 Like