I am using <dev.dworks.libs.astickyheader.ui.PinnedSectionGridView>.
Based on a floating list popup window index click I want to focus ( scroll) to that part of grid view.
I am passing the selection index to go to that section of gridview but nothing seems to happen.
GridView is not scrolling to selected position in grid view.
When selection happens I am saving the current position.
int index = gridview.getFirstVisiblePosition(); And when you come back to the gridview then trying to do
gridview.smoothScrollToPosition(int index)
//gridView.setSelection(position);
int index = gridView.getFirstVisiblePosition();
ListAdapter adapter = gridView.getAdapter();
gridView.smoothScrollToPosition(index + position);