is swipeTorefresh deprecated in jetpack compose an...
# compose
e
is swipeTorefresh deprecated in jetpack compose and i should replace it with pullrefresh??
z
Not to be rude exactly but it’s in the docs
z
Yes there. Kindly check the banner
e
**This library is deprecated, with official pull refresh support in androidx.compose.material.pullrefresh The migration guide and original documentation is below.
but you can still use it
z
Deprecated doesn’t mean broken. Just means it’s no longer encouraged to be used as better alternatives are out there
e
okay thx
d
If you use material 2, yes. If you use material 3 it isn't implemented yet. And even if not designed for it the Swipe to refresh works with material 3