How to create dynamic scroll screens in android?

I do not ask for code or anything else, but I myself study the android itself when creating the application. And my application requires using gestures to move through multiple dynamic lists. Therefore, I think that I can create 3 listviews widgets initially and show the middle one, hiding the other 2, so when the user scrolls left or right, I will have something direct at the moment, ready to show. Then, whenever a transition is made, 2 hidden lists must update their data to be the new list on the left and the right list. Thus, these lists should be in a circular order, for example, 1 → 2 → 3, and then back to 1.

I need some general guidance on how to do this, online reading material will also be great.

If this should not be done as I described, give me a standard way to do something like this.

It would be great if there was a library that could help me with this.

enter image description here

+5
source share
1 answer

You need to use the view flipper to scroll gestures. But before using this, you need fragments that are not supported at api level less than 10.

The following links are listed below.

1) http://androidtrainningcenter.blogspot.in/2012/10/viewpager-example-in-android.html

2) http://www.edumobile.org/android/android-beginner-tutorials/view-pager-example-in-android-development/

3) http://manishkpr.webheavens.com/android-viewpager-example/

Let me know if you still encounter any problem.

+6

All Articles