In my card layout subsequent page I access as this.setActiveItem(1), this.setActiveItem(2) ....
In every page I put button and calling above setActiveItem to navigate to prev and next page.
I need this to be done dynamic.. like having docked toolbar in the bottom and have two buttons 'Prev' and 'Next.
I dont want to specify the 1, 2, 3 in setActiveItem().. as it looks hardcoding.
Is there any way we can find out what the the current ActiveItem index. so that I can make (index-1) (index+1) in my 'Prev' and 'Next' buttons