Ashinch / ReadYou

An Android RSS reader presented in Material You style.
GNU General Public License v3.0
4.31k stars 179 forks source link

Migrate to `androidx.compose.material3.pulltorefresh` #722

Open JunkFood02 opened 3 weeks ago

JunkFood02 commented 3 weeks ago

Remove deprecated accompanist-swiperefresh from the app

Reference: https://google.github.io/accompanist/swiperefresh/

aualbert commented 2 weeks ago

It seems like PullRefreshIndicator is not available in material3.pulltorefresh but only in material.pullrefresh. This functionality is used in SwipeRefresh.kt for example.

JunkFood02 commented 2 weeks ago

There's an extension method provides the indicator in material3.pulltorefresh, but APIs seems to be changing in v1.3.+. We might need to wait for next compose update before working on this