nir9 / itemslide

JavaScript Touch Carousel Library with Zero Dependencies
https://itemslide.org
MIT License
647 stars 85 forks source link

Increasing the performance in Cordova Native App #7

Closed zenmano closed 9 years ago

zenmano commented 9 years ago

I am using this in an hybrid mobile Application. When converted into corresponding native app, It works a bit ok in top end mobile such as nexus and all. But When it comes to a bit normal mobile, the transition is very slow. The feel of touch looks clumsy. Can you please suggest some ways where transition does not slow. I am really in need of this.(duration is already set 25ms)

nir9 commented 9 years ago

Can you be a little more specific about what devices you tested on and it was laggy - because i tested it on popular devices and it worked without any lag. Also, i don't recommend setting the duration to 25 because you wont see any transition...

zenmano commented 9 years ago

Until now have checked in Samsung Galaxy S Duos S7562, iphone4. Lag transition was faced in those. My requirement is not transition effect rather my requirement is to make the item center and smooth transition.

nir9 commented 9 years ago

I have also tested on iphone 4 and it worked without lag, did you try the landing page on the iphone? Also it would help if you bring an example that runs laggy.

nir9 commented 9 years ago

Closed due to no reply.

zenmano commented 9 years ago

Hi, sorry for the late reply. It works fine in the browser of Samsung Duos. But when it is converted into apk using cordova. There are some bugs. the itemslide is not initialized which breaks the rest of the script.

I am still looking for any solution for this.

nir9 commented 9 years ago

I didn't have a chance to work with Cordova so i haven't tested on it, if ill have time i will test itemslide on it. Are you sure you initialized with $("element").itemslide(); ?

Can you send the error output from the cordova console?

nir9 commented 9 years ago

Closing due to no answer and that the plugin has changed a lot since this issue.