All Projects → yasevich → endless-recycler-view

yasevich / endless-recycler-view

Licence: Apache-2.0 license
RecyclerView with paging

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to endless-recycler-view

PrimeAdapter
PrimeAdapter makes working with RecyclerView easier.
Stars: ✭ 54 (+80%)
Mutual labels:  recyclerview
TheGreatAdapter
Multiple items adapter made too easy, including headers and footers.
Stars: ✭ 46 (+53.33%)
Mutual labels:  recyclerview
MultiChoiceMode-RecyclerView
This repository provides an API for creating a multi choice mode in RecyclerView.
Stars: ✭ 20 (-33.33%)
Mutual labels:  recyclerview
KRecyclerDsl
Kotlin Dsl for Android RecyclerView
Stars: ✭ 14 (-53.33%)
Mutual labels:  recyclerview
MixAdapter
Compose multiple Adapter for RecyclerView in Android
Stars: ✭ 19 (-36.67%)
Mutual labels:  recyclerview
JADA
JADA - Just Another Dictionary App
Stars: ✭ 20 (-33.33%)
Mutual labels:  recyclerview
Android-HeaderAndFooterRecyclerView
Let RecyclerView support add HeaderView and FooterView.
Stars: ✭ 36 (+20%)
Mutual labels:  recyclerview
CardLayoutManager
A custom layoutManager providing a Tinder-like cards effect.
Stars: ✭ 37 (+23.33%)
Mutual labels:  recyclerview
Android-Code-Demos
📦 Android learning code demos.
Stars: ✭ 41 (+36.67%)
Mutual labels:  recyclerview
Adsorbent
Adsorbent of RecyclerView , RecyclerView吸顶
Stars: ✭ 25 (-16.67%)
Mutual labels:  recyclerview
slush
This library will no longer be updated 😭
Stars: ✭ 26 (-13.33%)
Mutual labels:  recyclerview
SpacingItemDecoration
ItemDecoration for RecyclerView that allows you to set spacing between and around list items in flexible way.
Stars: ✭ 83 (+176.67%)
Mutual labels:  recyclerview
Simple-Notes-Kotlin-App
✍️ Simple Note Making App use mvvm architecture , dagger , coroutines and navigation component. Features includes 🗒️ create , edit and ❌ delete notes
Stars: ✭ 40 (+33.33%)
Mutual labels:  recyclerview
My Android Garage
A quick reference guide for Android development.
Stars: ✭ 66 (+120%)
Mutual labels:  recyclerview
RxPagination
Implement pagination in just few lines with RxPagination
Stars: ✭ 20 (-33.33%)
Mutual labels:  recyclerview
blueprint
Blueprint is a compact framework for constructing mvp architecture within a scrollable, multi-view-type list UI. It uses the Android RecyclerView library, and currently only supports LinearLayouts
Stars: ✭ 19 (-36.67%)
Mutual labels:  recyclerview
ExpandableRecyclerView
ExpandableRecyclerView with smoothly animation.
Stars: ✭ 412 (+1273.33%)
Mutual labels:  recyclerview
epg magic carousel
Awesome RecyclerView with custom LayoutManager
Stars: ✭ 98 (+226.67%)
Mutual labels:  recyclerview
GoogleAutoCompleteWithRecyclerView
An exaple of google Auto Complete Places API with android SDK implemented with RecyclerView
Stars: ✭ 29 (-3.33%)
Mutual labels:  recyclerview
Android
Step by step guide for various components in android
Stars: ✭ 32 (+6.67%)
Mutual labels:  recyclerview

endless-recycler-view

Overview

EndlessRecyclerView lets you to load new pages when a user scrolls down to the bottom of a list. It extends RecyclerView and it is fully configurable to meet different development needs.

The library compatible with Android 14+.

Usage

Dependencies

To use the library in your project write this code to your build.gradle:

buildscript {
    repositories {
        jcenter()
    }
}

dependencies {
    compile 'com.github.yasevich:endless-recycler-view:2.0.0'
}

Or include it to your lib folder.

Download

Layout

You can include EndlessRecyclerView to your layout as following:

<com.github.yasevich.endlessrecyclerview.EndlessRecyclerView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/list"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

Initialization

Set up EndlessRecyclerView parameters as required:

EndlessRecyclerView list = ...; // initialization
list.setLayoutManager(new LinearLayoutManager(this));
list.setProgressView(R.layout.item_progress);
list.setAdapter(adapter);
list.setPager(this);

Also

When page is loaded you may want to stop showing progress view:

list.setRefreshing(false);

See sample and documentation for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].