Join Slack
Powered by
I am trying to implement refreshing in a composabl...
# compose
a
amar_1995
08/02/2020, 4:08 AM
I am trying to implement refreshing in a composable list. But after refreshing clickable stops working. I think there is some issue with my approach but I am unable to get it.
https://github.com/amar1995/ModularNewsApp/blob/main/app/src/main/java/com/amar/modularnewsapp/ui/article/ArticleView.kt#L51
👍 3
g
galex
08/02/2020, 7:40 AM
I saw this in JetNews you can probably look into it to see what you did differently?
https://github.com/android/compose-samples/blob/master/JetNews/app/src/main/java/com/example/jetnews/ui/SwipeToRefresh.kt
a
amar_1995
08/02/2020, 8:33 AM
I am trying to store network data in cachedMap in viewmodel and on every refresh I am trying to that cachedMap.
https://github.com/amar1995/ModularNewsApp/blob/main/app/src/main/java/com/amar/modularnewsapp/viewmodel/ArticleModel.kt#L156
3
Views
Open in Slack
Previous
Next