I have read many topics related to this error but solve my problem.
“When any cardview” works on “Latest” category but not on any other.
This is my apk file
BSR.apk (5.7 MB)
I have read many topics related to this error but solve my problem.
“When any cardview” works on “Latest” category but not on any other.
This is my apk file
BSR.apk (5.7 MB)
The answer is there in the error log .
See here -
I am using dynamic component extension
It is like this
The error says that you are trying to retrieve index 8 from a list containing 1 item.
Could you show the relevant blocks?
I meant the blocks where the error occurs
If you are using the latest version of Dynamic Components Extension you will find a block is dynamic
Use that to check.
It did not worked
use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Are you sure, because I use the same method in my apps and they are still working fine.
You should check at your end again
Yes sure, can i send you aia to have a look.
U are putting get id as a index
And Id is 8 so it is selecting 8 index in list lenght 1
Use index in list(ids) and item (get id) so it will work perfectly
Can you please Eloborate bit more.
Use this as list index
ok, one more thing in list parameter which id should come. The id which i give to dynamic component?or any other
Which id contained in ur Id list
I have got the solution.
I set the global id used in dynamic component to zero each time any category button is clicked. Thanx for your help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.