views-widgets-samples icon indicating copy to clipboard operation
views-widgets-samples copied to clipboard

How to add more button above recycler view and show all recycler item in a new activity

Open Programmingtimes opened this issue 3 years ago • 0 comments

I try my best to explain my query. I have created a movie streaming app. I have succeeded in adding all data from JSON to android studio using retrofit and I use nested recycler view to show all movie categories under one recycler view. My current output :https://ibb.co/BG6Qgvf My query is, how to add more buttons to the recycler view on the top right of each category image ref: https://i.insider.com/5e58373afee23d3d691b5ce7?width=750&format=jpeg&auto=webp in amazon prime app they used cat name with arrow mark and added on click event . https://ibb.co/WKxBnM7 it will take them to another activity where that activity shows the clicked even category inside recycler view can you tell me how to achieve this. I have tried in StackOverflow unfortunately i did not get answer .

  1. query . I have an idea to add multiple recyclers for example , for action movie one recycler next for kids movie another recycler will it cause performance issue? if there is any other workaround other than this complex one

Programmingtimes avatar Sep 03 '21 11:09 Programmingtimes