Skip to content

Enable/Disable not working correctly #33

@MFlisar

Description

@MFlisar

I'm trying to enable and disable the swipe refresh layout like following:

 srl.post(() -> srl.setEnabled(false));

This works 100% reliable, if I use a default swipe refresh layout but fails very often, if I use the WaveSwiperefreshLayout (fails means, the layout is still enabled after calling the function).

Any ideas how to solve that?

The problem is, that you use setEnabled internally as well to temporarily disable the view...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions