I am using the following code to update the currentPage
indicator in my app:
pgcNotification.currentPage = 3;
pgcNotification.numberOfPages = 4;
Though, the indicator never changes and always stays in its first position.
The problem is that you, firstly have to say the amount of pages and secondly the current page. Never in the other way around.
pgcNotification.numberOfPages = 4;
pgcNotification.currentPage = 3;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With