So I have a question about the XML selector drawab...
# compose
m
So I have a question about the XML selector drawable is it the same use in Compose or there something I miss? basically I need to reflect an icon selection in a group of items
z
Compose doesn’t natively support Android drawables. You can load vector Drawable resources, but they load as compose-specific implementations. I don’t think it supports selectors, so you’d need to write your selector “logic” in kotlin (see
InteractionState
for a thread to pull on)
m
oh nice, thank you will look into it