'How to get the progress of SwipeRefreshLayout
I am using a androidx.swiperefreshlayout.widget.SwipeRefreshLayout in my Layout for a pull-to-refresh action.
I want to add a custom pull-to-refresh animation. My 2 questions are the following:
- Is there a way to hide the default pull-to-refresh animation (the circle arrow of android) while pulling the UI down
- Is there a way to obtain the progress of the pull?
At the moment I only get the info, when the pull-down is at the bottom and the refreshing begins. But for my custom implementation of the pull-progress, i need to know the percentage of the pull until it begins to refresh.
Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
