-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Hello.
I have imported your lib in my app and am using its 'statik' feature for drag & drop ImageViews. It is a great library, thank you :)
My question is:
Is there a way to detect where user drops the object?
Edit:
When I use this code to detect user's touch release, the object (ball) doesn't move anymore:
ball.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
if(event.getAction() == MotionEvent.ACTION_UP)
Toast.makeText(MainActivity.this, "Dropped.", Toast.LENGTH_SHORT).show();
return true;
}
});Metadata
Metadata
Assignees
Labels
No labels