Skip to content

If ListView has top padding, refresh state is never entered #6

Description

@bensandee

Great library, thank you!

I ran into this issue, but sorry I don't have a patch:

If the RefreshableListView has a top padding, the getChildAt(0).getTop() returns non-zero and many of the assumptions made in the touch logic start to fail. I started to try to normalize it, but the truth is I don't really understand the code well enough to fix it do the job correctly.

My padding was actually not necessary (and was an accident), but I thought I would mention this for anyone else that might run into this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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