You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
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 dogridview.smoothScrollToPosition(int index)
The text was updated successfully, but these errors were encountered: