RecyclerView.aix (126.3 KB)
Just made it , you can check here
Thank you, will test out and report back.
GetComponentByUniqueId
Works as expected, many thanks
![]()
Example here:
Finding I need a "clear" function otherwise I am getting a duplicated recyclerview behind the latest one.
There appear to be lots of suggestions here
Can you try ,
Set data to emplt list
NotifyDataSethanged
And new procedure
The one combination of blocks I did not try! It works ![]()

Thank you.
Added ResetRecyclerview function for convenience
Which does same as NotifyDataSetChanged+Data empty list
RecyclerView2.0.aix (125.5 KB)
Hlo anyone can help pls
The issue is After clicking on a cardview i have to change the Stroke view of the cardiview which is clicked and other all set to Stroke 0
I have try it to do with Refresh the list but it is very slow and app become laggy
If you were using MIT AppInventor we might be able to provide more help...
From what I can see you are setting the "clicked" changes to strokeWidth in the bindview, should this be in your onClicked event ?
If i m refreshing the list so it should be in bind view
You shouldn't need to do that. It is possible to change the properties of elements in the recyclerlist (e.g. the stroke...) without having to reload the entire recyclerlist again. I have done this in the distant past, and provided an example 9 posts up (properties are changed in the WebGotText event based upon data returned from a firebase project.).
This is correct for that card or elemet that is clicked , i have to make changes on other cards also.
Read this Carefully pls.
The issue is After clicking on a cardview i have to change the Stroke view of the cardiview which is clicked and other all set to Stroke 0
Yes, I read it the first time. Iterate over all the cardviews to set to 0, then set the clicked cardview to 2
Brother your not understanding the issue
Let there is 25 Cards Generated by Recyler list
then user click ok 2nd card so it stroke will increase from 0 to 2 ,
the main issue is
if same time user click on 10th card so i have to set 10th card storke to 2 and 2nd card storke to 0 .
Oh, I understand it.
Keep a record of last clicked card, then you can set that to 0 and set the new clicked card to 2.
i dont know what logic i can use here can you pls tell
Brother app ke pass buttons ka list hai pr Recyler List extension me ye possible nhi hai
What's a stroke?
Am I having one now?