Skip to content

How to show pull-to-refresh automatically? #89

@vinceyuan

Description

@vinceyuan

I have a list. The pull-to-refresh works well. Thanks!
When the local data is old, the app should load data from the server automatically on activity start. So I want to show the pull-to-refresh animation automatically on activity start.
I tried listView.scrollBy(x, y) which only scrolls the list view but does not trigger pull-to-refresh animation.
Is there any solution? Thanks

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