-->

how to change next page using swipeview in android

2019-07-31 13:31发布

问题:

am new to android.am doing simple aphabate app.in that app am using alphabetes letters.when swipe on the letter how it will move to next letter.please give me suggestions

thanks in advance

回答1:

just refer this link : this shows how to implement swipeview

http://androidhub4you.blogspot.in/2012/07/dynamic-swipe-view-demo-in-android.html#!http://www.androidhub4you.com/2012/07/dynamic-swipe-view-demo-in-android.html



回答2:

I would like to suggest u to tak a look at the following Android Dev blog post about using ViewPager in the Android Compatibility Package to implement the swipe functionality you're looking for:

http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html

The recommended approach is most likely to use a Fragment for the chat history and text input field as this will give you the most flexibility across devices.



回答3:

Try this link: In this link he is showing listview item on swipe.

Check the complete code here



回答4:

Try the links hope it may help you

http://developer.android.com/guide/components/fragments.html

http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html

http://thepseudocoder.wordpress.com/2011/10/05/android-page-swiping-using-viewpager/