Create your account

Already have an account? Login here

Note: By joining, you will receive periodic emails from Coursetro. You can unsubscribe from these emails.

Create account

85. Add Animation To RecyclerView

Design + Code an Android App from Scratch

Woah, wait a second..

Scrounge up some loose change to become a pro member, or login to your account to view this lesson.

Alright, join now. Or login to your account if you're already a pro member.

This video shows you how to add animations to the RecyclerView which are seen in action while adding and removing items from the RecyclerView. In the first step, override the getItemId to return a unique id for each position in the RecyclerView or return RecyclerView.NO_ID. In the next step, call the setHasStableIds on your RecyclerView.Adapter subclass and supply true to this method and the animations run automatically after this.

Course Cirriculum