0

I want a single cell of a grid to take up my whole screen and swipe up/down/left/right to access other cells (not smoothly, but switch to the next cell). What do you think is a good way of implementing this?

I've partially implemented this in GridView and ListView containing a HorizontalListView and am considering TableLayout.

Any advice?

benwiz
  • 2,167
  • 3
  • 22
  • 33

2 Answers2

1

I would start with the DirectionalViewPager on github and try to modify it so that it can always swipe in any direction instead of having to call setOrientation(DirectionalViewPager.VERTICAL)and setOrientation(DirectionalViewPager.HORIZONTAL) I don't know exactly how much you'll have to modify it, but it is most of the way there, I would think that the change should be relatively straight forward.

FoamyGuy
  • 46,603
  • 18
  • 125
  • 156
1

How about you take a look at this. the horizontal paging(swipe views)

elL
  • 767
  • 2
  • 14
  • 35