I want to create some CardView items dynamically, depending on items I get via a REST call. I created a CardView XML layout that contains many single elements with many settings. I don't want to write this XML layout in code to create it dynamically. Is there an easy way to do this work?
Each CardView item has its own name etc. therefore, the IDs of the elements inside the CardView must be different.