Guest User

Untitled

a guest
Jul 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. listView.setOnItemClickListener(AdapterView<?> parent, View view, int position, long id) {
  2. view.startAnimation(animation);
  3. // do everything else when the user clicks on an item
  4. }
  5.  
  6. Animation animation = AnimationUtils.loadAnimation(context, R.anim.animation);
Add Comment
Please, Sign In to add comment