How to generate elements in Android?

Learning Android and have a question: how can I generate the elements and to tie him to something? Let's say I have posts and I need to generate their display and add each ID to be able to navigate to a new activity and pass the ID in it. VEB, I'd use a data attribute for future work item with JS or generate a link to the post directly embedding the ID in it - an analogue of something that I need in Android. Thank you.
April 7th 20 at 10:50
2 answers
April 7th 20 at 10:52
Solution
Using RecyclerView
April 7th 20 at 10:54
Go to startandroid and direct from the first class begin to read carefully

Find more questions by tags JavaAndroid