How to generate fragments automatically?

0

Hello, I'm developing a project where the user will ask questions in the backend, and I'll have to receive them through an API, generating them one per screen on android. What I need to know is if I can create fragments dynamically, since each user can generate different numbers of questions, and how do I do it? And I can make the screen pass button work along with fragment? At the moment I'm doing in a way where I create framelayouts and I leave like GONE, at the moment I click on the right arrow it changes the question, giving GONE on the previous and VISIBLE on the next, does not have any anim that does this same fragment function?

    
asked by anonymous 25.11.2016 / 12:28

0 answers