Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
Description
Right now we have separate loading methods to resolve either an ImageBitmap or an ImageVector. We should make this easier and have a single method that consumes a resource identifier and returns a Painter. That way developers can write code that is not concerned with the type of asset they are attempting to draw (similar to context.getDrawable(resId))
For example we should be able to write the following code: