I am Learning android development on my own, I am working on a quiz app, in this app, I want to add 100 questions (1 screen for 1 question) user can go to the next question by swiping so how can I do it? should I use 100 fragments for each question with the help of viewpager or any other method is available to do it?
            Asked
            
        
        
            Active
            
        
            Viewed 35 times
        
    1 Answers
0
            
            
        You need to use ViewPage2 for swiping.
 
    
    
        Saurabh Dhage
        
- 1,478
- 5
- 17
- 31
- 
                    ok, but what about fragments, should I add 100 fragments in my project? – MERCER Aug 04 '21 at 06:36
- 
                    check this out https://stackoverflow.com/questions/54643379/proper-implementation-of-viewpager2-in-android – Saurabh Dhage Aug 04 '21 at 14:54
