Image for post
Image for post

There are multiple ways to do animations in android. From the good old ObjectAnimator to the full powerhouse i.e MotionLayout. This article is intended to give you a little kick start knowledge about animations and a playground project to further dive in along with how we solved some of the problems here at Dunzo. We will compare some common techniques in this article with snippets of code.

TL;DR: Playground project: Github link

Topics we will cover:

  • Animations using ObjectAnimator

ObjectAnimator: The customisation king

Kshitij Kapur

Android Engineer @Dunzo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store