I am implementing a project in Phonegap-android.i would like to add a SWIPE VIEW for the length of the data available in the database.
Please guide how to implement the swipe view using java script similar to the one in android.
I have tried out with many but was not successful.. i have tried it with hammer.js,iscroll.js,Swipeview.js,idangerous Swiper.js.
For, the last two i.e Swipeview.js,idangerous Swiper.js,i had an android bug
Miss a drag as we are waiting for WebCore's response for touch down.
I tried fixing it with the code
document.addEventListener( 'touchstart', function(e){ onStart(e); }, false );
function onStart ( touchEvent ) {
if( navigator.userAgent.match(/Android/i) ) {
touchEvent.preventDefault();
}
}
inspite of this code i faced the same WARNING. Whereas with hammer.js,iscroll.js it did not execute properply.