Dynamic components problem

Hello everyone,
I’m making trying to make an app with dynamic comp. I set 5 auto-add records
whenever the user clicks on load more 5 records calls
but when I click on load more I’ll auto load 10 items but. please tell me how to fix this problem.

Dynomic_ListView.apk (5.6 MB)

this is screen record video: video

At first run you use Card View for each 1-5 and it looks good, right!
You reload or get Column +5 which is ten and you rerun the code Card View for each but now 1-10, but you already used 1-5, so 1-5 will be the bug ones as the app have no clue what to do with it

Try by increasing this value by 5 as well when you click on the button Load More


Maybe something like this


Okay let me try this

thanks it’s works
even i put three more layout same solution working thank you very mych

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.