Frame-by-frame animation in Android

Sometimes we need to add some special animation to indicate changes in the view state and emphasise this changes via visual representation. For example I decided to made custom animation of the “like quote” feature in my application. Initially quotation has two different states – favourite and normal. These states represented by ImageView:

star_anim_frame0

star_anim_frame8

 

 

 

So, my task was to draw some transition between these states.

Continue reading Frame-by-frame animation in Android

Animation for list reloading

As we know from android design guides, content should come to the screen from the edges in meaningful way. So, I decided to animate showing content of my list and also to add animation for reloading the list. I’ve used RecyclerView for my list of cards. It has a few build-in animations + we can set animation in onBindViewHolder method for every view-item. But for my task, I’ve decided to animate whole list itself.

Continue reading Animation for list reloading