Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

SwipeRefreshLayout #492

@baiseng

Description

@baiseng

I have a requirement that SwipeRefreshLayout only request the network once in five minutes. But after interception, the loading progress circle keeps turning. I want to close the loading progress circle after successful interception.How can I solve it?

RxSwipeRefreshLayout.refreshes(refreshLayout)
.throttleFirst(5,TimeUnit.MINUTES)
.subscribe(o -> {
Toast.makeText(getActivity(),"Network requesting",Toast.LENGTH_SHORT).show();
refreshLayout.setRefreshing(false);
});

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