Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- listView.setOnItemClickListener(AdapterView<?> parent, View view, int position, long id) {
- view.startAnimation(animation);
- // do everything else when the user clicks on an item
- }
- Animation animation = AnimationUtils.loadAnimation(context, R.anim.animation);
Add Comment
Please, Sign In to add comment