QuickReturn icon indicating copy to clipboard operation
QuickReturn copied to clipboard

Bug when setting listview position

Open Maxxan opened this issue 9 years ago • 1 comments

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
}

Maxxan avatar May 13 '15 23:05 Maxxan

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.

Maxxan avatar May 18 '15 21:05 Maxxan