Compose: animations Official reference: Quick guide to Animations in Compose. See also Choose an animation API, Value-based animations, Animation modifiers and composables. Core principle Pick the smallest API that matches the problem : built-in visibility and layout transitions first, then a single animated value, then a shared transition object when several values must move together, then gesture-level or imperative APIs when the framework cannot express the motion. Pick the smallest animation API | Need | API | |---|---| | Show or hide a subtree with enter/exit semantics; content is remove…