Hi! Currently pull to refresh modifier is added on...
# compose
a
Hi! Currently pull to refresh modifier is added only for Compose Material, not for Material 3. I can’t quite find the info about this gesture in Material 3 spec, is it not supposed to be used in Material 3? If so, what is preferable way to refresh the list? I currently do automatic refresh on app open and force refresh on swipe, probably can add a button to the top bar for the force refresh
p
I think for this you can try the accopanist lib https://google.github.io/accompanist/swiperefresh/
but I haven't seen guideline on Material 3 about this true 😞
a
Accompanist library for swipe-to-refresh is deprecated now in favor of the modifier inside compose-material. I use it now, but it can be removed in the future
p
What is the modifier you are referring to?
p
hmmm interesting from the import I would have thought it's material 2 confusing
a
Yes, it’s Material 2
p
ha ok so for material 3 we don't have that I mean you can combine sure
103 Views