Open TheLeftyCoder opened 3 months ago
here my questionsPerPageArray is [5, 5, 4, 5 , 5 , 5, 3]
what's happening when I'm on 1st page it is showing me 7 page total , but when I goes to 3rd page it is showing me 8 pages total , like 8*4 = 32
so that's why 8 pages, likewise when I go to last page, it is showing me 11 pages total , 3*11 = 33
but I don't want that , I want to make dynamic number of question and number of pages should be consistent
here my questionsPerPageArray is [5, 5, 4, 5 , 5 , 5, 3]
what's happening when I'm on 1st page it is showing me 7 page total , but when I goes to 3rd page it is showing me 8 pages total , like 8*4 = 32
so that's why 8 pages, likewise when I go to last page, it is showing me 11 pages total , 3*11 = 33
but I don't want that , I want to make dynamic number of question and number of pages should be consistent