GridView onItemClickListner Not Working
This question is often asked here .Lot of people got the solution and
working also. I am also facing the same problem, My gridview onitemclick
listner not working.
In my case
I have a viewpager.
Inside that i have fragments.On those fragments i have Gridview. Setting
onItemclick listner to grid view not working, tried all case which i found
on internet.
This viewpager is itself added in a sepratefragment. See the Picture For
better Understanding. The code is almost simple so not adding here for
reference. Where i could be wrong. if not how to hack this
Working case : I am getting pressed events when i am adding onclicklistner
to buttons in adapter.But not able to update the button text , when
calling notifydatasetchanged.
No comments:
Post a Comment