Skip to content Skip to sidebar Skip to footer

Does Have Gridview Setselectionfromtop (int Position, Int Y) Method

I'm trying to call method public void setSelectionFromTop (int position, int y) which accordingly to documentation is defined in AbsListView since Api 1 setSelectionFromTop Grid

Solution 1:

Cast it to GridView before calling setSelectionFromTop

((GridView) absListView).setSelectionFromTop(...)

Or if it is Listview:

((ListView) absListView).setSelectionFromTop(...)

Post a Comment for "Does Have Gridview Setselectionfromtop (int Position, Int Y) Method"