Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rllyhz/pullrefresh-compose
Pull To Refresh functionality for Jetpack Compose
https://github.com/rllyhz/pullrefresh-compose
jetpack-compose pull-to-refresh
Last synced: 13 days ago
JSON representation
Pull To Refresh functionality for Jetpack Compose
- Host: GitHub
- URL: https://github.com/rllyhz/pullrefresh-compose
- Owner: rllyhz
- License: mit
- Created: 2022-10-30T19:29:05.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-31T18:33:03.000Z (about 2 years ago)
- Last Synced: 2023-03-08T10:28:45.203Z (over 1 year ago)
- Topics: jetpack-compose, pull-to-refresh
- Language: Kotlin
- Homepage:
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pull To Refresh for Jetpack Compose
A library provides a layout to the pull-to-refresh UX Pattern. This project is inspired by one of
Google extension libraries for Jetpack Compose,
called [SwipeRefresh](https://google.github.io/accompanist/swiperefresh/). The concept of scrolling
the content are absolutely the same. However, instead of showing just a progressbar indicator from
the top to the bottom while the content itself being scrolled down, the layout would show an
additional customizable layouts that correspond to the refresh state. This layout could be an
indicator, an animation, or just text to show. It's totally customizable.## Download
**Step 1.** Add the JitPack repository to your build file
```gradle
repositories {
...
maven { url 'https://jitpack.io' }
}
```**Step 2.** Add the dependency
```gradle
dependencies {
implementation 'com.github.rllyhz:pullrefresh-compose:'
}
```