ursus
02/24/2024, 3:31 PMursus
02/24/2024, 3:39 PM<extend
? never heard of such animationIan Lake
02/26/2024, 2:05 AMAnimation
API (the API one, not the API 11 Animator
API that the API 21 Transition
APIs and AndroidX Transition
API is built on top of). All of those APIs can only animate Views, so they can't be used in Compose (nor should you really; they're extremely limited in what you can do compared to Compose transitions done within a single activity)Ian Lake
02/26/2024, 2:05 AM<extend
is the framework @hide
API of `ExtendAnimation`: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/java/android/view/animation/ExtendAnimation.javaIan Lake
02/26/2024, 2:07 AMAnimation
cannot be used with the Predictive Back gesture inside your activity, so you wouldn't want to use that in your Compose code anyways (even in the View world, only Animator
and AndroidX Transition supports the seeking needed for Predictive Back In-App)ursus
02/26/2024, 2:09 AMextend
animation does .. is it like animateContentSize
and changing the width/height?Ian Lake
02/26/2024, 2:12 AMursus
02/26/2024, 2:13 AMIan Lake
02/26/2024, 2:17 AMursus
02/26/2024, 2:27 AMIan Lake
02/26/2024, 2:37 AMursus
02/26/2024, 3:01 AMIan Lake
02/26/2024, 3:11 AMursus
02/26/2024, 3:12 AMursus
02/26/2024, 3:15 AMIan Lake
02/26/2024, 4:29 AMIan Lake
02/26/2024, 4:30 AMIan Lake
02/26/2024, 4:32 AMursus
02/26/2024, 12:14 PM