Closed mars885 closed 1 month ago
The issue has been resolved by falling back to using the view implementation of the FloatingActionButton
from the material components library. Since this is a view component, we can assign it the AnimatedStateListDrawable
.
Inspired by this article.
Before the migration to the Jetpack Compose, the action of liking & unliking a game by clicking the like button was animated using the animated vector drawable.
However, the latest version of the Jetpack Compose (
1.1.1
as of now) does not support that. Consider adding it back once the support comes along.The issue on the google issue tracker about this problem.