Android with Swipe in a GridView

0

Hello everyone, I need help getting a gridview to accept the onFling event (scroll horizontally right-left) without having to use a pageview, or it should be done as a "button" because I saw that the event does not work on top of a gridView only in places where gridview is not. Please if you do not abuse the goodwill of those who are helping could give me an example because I researched a lot and found none. Thank you very much.

    
asked by anonymous 03.07.2014 / 14:20

1 answer

0

Hello,

The default implementation of this type of feature would usually happen vertically, as we can check in the article from Androidtuts4u .

At the same time, an implementation using this scroll feature would have to make use of the HorizontalScrollView , as demonstrated in this stackoverflow post: Android - HorizontalScrollView within ScrollView Touch Handling .

    
05.07.2014 / 13:44