I am working on a game where the player can drag and drop things around the screen. I\'ve got a private method which allows me to simulate a drag/drop event for any of the i
I slightly changed an accepted answer (it also works) to avoid handlers.
@Override public void onAnimationEnd(Animation animation) { imageView.post(new Runnable() { @Override public void run() { layout.removeView(imageView); } }); }