Hi, I'm trying to use a PullRefresh in a Desktop app, but I have no success. I can display the refresh indicator by changing the display state, but indicator is not displayed (neither the call effect) when swipe gesture is done.
Maybe is because the differences in swipe gestures between Android and Desktop?
Anyone has achieved this?
c
czuckie
05/23/2023, 12:12 PM
I think drag events aren't adapted to gestures in the desktop compose implementation (which is why things like Pager won't ... page, when you click and drag).
I imagine this would be the same for the swipe refresh.
I know it doesn't answer your question, but as a desktop app, I would never consider the ability to refresh via swiping (it might cross my mind if it was an application I used on mobile and it looked INCREDIBLY similar).
Can you not have a cheeky refresh button in the UI some where?
m
Mateu
05/24/2023, 10:49 AM
Ok thanks! For now I have a refresh button as you mention.