0

Click recycler view item and show it's related data from database into recycler view of another activity, one by one see details

My question is: I have two activity, act A & B Both activities have recycler view When I click on any items of recycler view in activity A, go to activity B and show the data of which item is clicked from database into recycler view of activity B. When pressed back button go to activity A I know this. Then click on another item of recycler view in activity A and show it's related data from database into recycler view of activity B. This series will continue until the end. Can you help me. If you need the code I will send you it's screenshot ok. Thanks for response.

24th Sep 2021, 10:45 AM
Mohammad Bashar Sahak
Mohammad Bashar Sahak - avatar
2 Answers
0
You can use intents to send id of data which you want to load in activity B from A and load the corresponding data in activity B.
25th Sep 2021, 8:30 AM
PineLag
0
I used it, it only starting activity B and loading that data which have database references.
25th Sep 2021, 8:37 AM
Mohammad Bashar Sahak
Mohammad Bashar Sahak - avatar