Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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:'
}
```