I’m having some trouble with $ionicSlideBoxDelegate.currentIndex() on Android. The weird thing is that the code works like a charm on my desktop computer(tested with Chrome, Firefox, IE). It has only been tested on a Nexus 7 running version 5.1.1.
The slider is loading content dynamically and is inspired by zarko’s post here: http://forum.ionicframework.com/t/what-should-i-do-if-i-want-to-show-thousands-of-pages-in-a-slide-box/14092/11
The index works fine as long the slide box is used normally(swiping). I have added some buttons, that makes it possible to jump between slides, much like a table of contents. When making such a jump, I basically just replace the contents of three slides, like showDefaultSlides() from zarko’s post. I have traced the whole issue back to the delegate. For some reason, some kind of decoupling is happening on Android.
Any suggestions on how to solve it?