LottieSwipeRefreshLayout

Basic usage

<?xml version="1.0" encoding="utf-8"?>
<com.nabilmh.lottieswiperefreshlayout.LottieSwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@id/swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:lottie_rawRes="@raw/pull_to_refresh"
>
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</com.nabilmh.lottieswiperefreshlayout.LottieSwipeRefreshLayout>

Attributes

Extensible

How to add the library

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.nabil6391:LottieSwipeRefreshLayout:1.0.0'
}

Inspiration

--

--

--

Lead Android Developer, Flutter Lover

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Android 12 review for Developers

MVVM using MediatorLiveData and Kotlin Flow

How to call Volley API key in Android Studio using Kotlin

Reducing Flutter app size | WalkingTree Technologies

Loading and displaying images from the internet with Retrofit into your android app

Setting Flutter for Development

Use Espresso’s IdlingResource for max Android test speed

Intermediate: Integration of Huawei App Messaging in Xamarin(Android)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nabil Mosharraf Hossain

Nabil Mosharraf Hossain

Lead Android Developer, Flutter Lover

More from Medium

ExoPlayer playlist diffing

Building a Next-Gen Blockchain Game: Part 1

Memory leaks in kotlin using leakcanary

Android DataStore with my POV for beginners’ help