Hi all,
First thank you for this great framework : )
I really need your help please,
I am working on an app, and I need in it to show list of images and swipe between them…
when I tried to use slide box the app going slowly because in one page I must load a lot of images
when i tried to put each one in a single page and swipe between them the app go more and more slowly !!! I don’t Know why !!!
In second try, I used $ionicGesture.on(‘swiperight’, function(event){…} like this example
Hi I think that a possible solution is to display only a portion of your images via slidebox and not all of them.
You can use a temporary $scope.variable where insert the images that you want to display, and when the user swipe left you insert a new element at the end of the box and remove the first, while when the user swipe right you make contrary. Ionic/AngularJS rebuild your slidebox automatically or you can use a .update() to refresh.
Remember to save the active swipe. I don’t know if this works. It’s only an idea.
Thank you very much @ziobudda ,
Really your idea looks great
but can you give me a hint to start test it ?
from when i should start ?
I’m new to angular and ionic and at the present time I am trying to develop my skills.
Can You show me more of Your code? Do you have a github/bitBucket repo?
Or can You maybe paste how You wrote Your states? and how You handle changing states?