I have an AndroidView where i get some custom Font...
# compose
r
I have an AndroidView where i get some custom Font via
Copy code
ResourcesCompat.getFont()
Is there any possibility to render this view in the preview? It failes with an exception "Font resource ID #0x7f080000 could not be retrieved" If I build and deploy the application it all works fine
y
If it's important enough you can always protect that part with LocalInspectionMode.current. Hopefully that is a bug they fix though.
r
@yschimke thanks, opted out with the localinspectionmode
👍🏻 1