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

Check visibility of the viewhandle #3

Open
snooplsm opened this issue Dec 29, 2014 · 1 comment
Open

Check visibility of the viewhandle #3

snooplsm opened this issue Dec 29, 2014 · 1 comment

Comments

@snooplsm
Copy link
Contributor

If the viewhandle is not visible, dragging should not happen. Also it would be nice if there could be a limit to where one could drag to. Working on that now though.

if (handleView == null)
{
Log.e(TAG, "The view ID " + viewHandleId + " was not found in the RecycleView item");
return false;
}

if(handleView.getVisibility()!=View.VISIBLE) {
return false;
}

@emileb
Copy link
Owner

emileb commented Dec 29, 2014

Good idea, I've added that for the next release. Thank you!

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