Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag select with Swipe to refresh #7

Open
RB4915 opened this issue Oct 4, 2019 · 1 comment
Open

Drag select with Swipe to refresh #7

RB4915 opened this issue Oct 4, 2019 · 1 comment

Comments

@RB4915
Copy link

RB4915 commented Oct 4, 2019

How can use drawselectrecylerview with Swipe to refresh layout?

@obaida-mostarihi
Copy link

Well i know that you asked this question two years ago.. but for anyone who's still looking for an answer
this is what i did
i added to the onClickListener interface
this method
void isSelecting(int selectedCount);
and inside it....

@Override
            public void isSelecting(int selectedCount) {
                 //Check if there is any selected items

                if(selectedCount>0)
                    mSwipeRefreshLayout.setEnabled(false);
                else
                    mSwipeRefreshLayout.setEnabled(true);
}

Hope it helps...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants