开发者

Custom Adapter for Gallery View in Android

hi i want to split my gallery with 5 images in 2 rows. Please let me know how to do this in android using Gallery View & custom ad开发者_开发问答apter for Gallery view.

Is there any sample code available please share it, i have already checked the previous posts in this site.

Thanks


If you still need this and Pagination instead of scroll will work for you, you might look at: https://github.com/sfarooq/PaginatedGallery

I designed it using ViewPager so you can manipulate the adapter to send any kind of views you want including two row views.

If you must use scrolling galleries you could implement two separate gallery in a vertical orientation and send touch events from each to the other.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜