Skip to content Skip to sidebar Skip to footer

Can Not Scroll And Click Item On Gridview Inside Scrollview

okay guys, i have layout like this

Solution 1:

Enable your GridView Property as

android:nestedScrollingEnabled="true".

Solution 2:

no need to put gridview inside scrollview and for item click I hope this help you

Solution 3:

okey, i've done with my problem . :) thanks for all of you who have show me the clue . :D

first for scrolling gridview inside scrollview, basically we shouldn't put a gridview inside a scrollview, but it doesn't mean we can't do that. we just need to use a custom scrollview,i found it from this comment > https://stackoverflow.com/a/11554684/2496348

and about the gridview onItemClickListener, we can not put a clickable object inside a gridview, so i just change the imagebutton to be imageview.

that's it ! thanks :)

Post a Comment for "Can Not Scroll And Click Item On Gridview Inside Scrollview"