https://github.com/fengdai/compose-pulltorefresh
Pull To Refresh for Jetpack Compose
https://github.com/fengdai/compose-pulltorefresh
android jetpack-compose pull-to-refresh
Last synced: 3 months ago
JSON representation
Pull To Refresh for Jetpack Compose
- Host: GitHub
- URL: https://github.com/fengdai/compose-pulltorefresh
- Owner: fengdai
- Created: 2022-05-09T02:51:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T12:44:57.000Z (over 2 years ago)
- Last Synced: 2024-05-04T09:57:29.480Z (about 2 years ago)
- Topics: android, jetpack-compose, pull-to-refresh
- Language: Kotlin
- Homepage:
- Size: 1.44 MB
- Stars: 31
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pull To Refresh for Jetpack Compose
A library which provides a layout which provides the pull-to-refresh UX pattern.

This project is inspired by Google's [SwipeRefresh].
# Customization
You can also provide your own custom indicator. Here is an example:

See the [source code][sample] for more information.
# Download
```groovy
repositories {
mavenCentral()
}
dependencies {
implementation "com.github.fengdai.compose:pulltorefresh:"
}
```
# License
Copyright 2022 Feng Dai
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
[SwipeRefresh]: https://github.com/google/accompanist/blob/main/swiperefresh/README.md
[sample]: sample/src/main/java/com/github/fengdai/compose/pulltorefresh/sample/Custom.kt