is `painterResource` supposed to cause a recomposi...
# compose
t
is
painterResource
supposed to cause a recomposition when loading a PNG file ? 🤔 (Android)
a
Haven't test it. But I guess it will cause a recomposition as Painter is not stable.
t
but
Painter
is not returned as a State from
painterResource
function, right? How are they causing a recomposition 🤔 Here’s my code structure btw,
Copy code
@Composable
fun MyComposable(){
    // recomposition happening here
    Image(
        painter = painterResource(R.drawable.my_logo_png)
    )
}
s
If it is reproducible with the snippet above, that doesn't sound right
t
it is 😞 here’s repro code
s
I think it is worth filing a bug
a
FYI this seems fixed on latest compose ui 1.5 beta 02