I am trying to implement refreshing in a composabl...
# compose
a
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
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
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