ViewPager + types of processing?

I would like to create a gallery of photos that scroll left and right. At first I looked at Gallery, but was marked as deprecated.

http://developer.android.com/reference/android/widget/Gallery.html

We were told to try ViewPager. But the class PagerAdapterdoes not handle the recycling of views for us (as standard ListView), right?

http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html

Can we build a recycling mechanism?

thank

+5
source share
3 answers

But the PagerAdapter class does not handle view processing for us (like a standard ListView), right?

, , , , .

, , ListView ( "" ViewPager, ), , .

+3
+2

. . , .

HorizontalListView , , Gallery .

+1

All Articles