Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
As apps migrate to Compose, they may have existing custom Drawable implementations which they don't want to migrate straight away.
It would be nice if provided a way to wrap a
Drawable
in aPainter
. Bonus points if it works withAnimatable
drawables.I have written a prototype implementation for Accompanist which seems to work: https://gist.github.com/chrisbanes/9a1d64847278876186be81249d9f9eda