How to check if an integer represent a drawable re...
# compose
a
How to check if an integer represent a drawable recourse or not in compose?
z
Same as before, compose uses the Android resource system
d
use
@DrawableRes
annotation
a
I mean:
Copy code
if(integerNum.isDrawable()){}
z
a
It's helpful, Thanks!