4

I am creating a picture gallery for newly android release jellybeans.But i got to know from here is that gallery widget is deprecated and they suggested to use ViewPager or HorizontalScrollView.I decided to use HorizontalScrollView to create my gallery.

But after a while i found that we cant set adapter to HorizontalScrollView. Now I am confused how to create my gallery in jellybeans. Help me with your suggestions.Any help will be highly appreciated.

Thank you.

himanshu
  • 1,990
  • 3
  • 18
  • 36

1 Answers1

0

Here is an article and component that subclasses AdapterView for a horizontal ListView. It uses recycling, and standard AdapterView.OnItemClickListener. Note: It does not automatically "snap" to the center view.

Paul Burke
  • 25,496
  • 9
  • 66
  • 62