QuickReturn
QuickReturn copied to clipboard
Bug when setting listview position
If you set the position of the listview, like if you change following code in your sample, then you've got a very ugly visual bug. :)
Any ideas how to solve that?
Line 65: if (viewGroup instanceof AbsListView) { int numColumns = (viewGroup instanceof GridView) ? 3 : 1; ListView absListView = (ListView) viewGroup; absListView.setAdapter(new QuickReturnAdapter(adapter, numColumns));
absListView.setSelectionFromTop(100, 30); // Add this line
}
You have the exact same problem if you scroll your list, open a new activity, rotate the screen, press back to close the activity and now scroll up the list. The quick return view keeps flashing in and out all the time.