when I click on each item of the recyclerview I want to go to another activity but the values in the activity will be different depending on the item clicked in the recyclerview.
For example: If I have a list of TV shows and when I click on each item it will go to the same activity and show me different episodes list.
Anyone can help how to achieve this?
Android Studio provides you with various project templates when creating a new project, If you have a look at the one described as Master/Detail Flow
.
This will give you some working code that should cover your use case, which when comfortable that you understand it, you can then begin to implement into your own project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.