Skip to content

Bug when setting listview position #38

@Maxxan

Description

@Maxxan

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions