All Projects → 10clouds → Inifiniterecyclerview

10clouds / Inifiniterecyclerview

Licence: apache-2.0
Library for implementing endless loading list easily in Android applications

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Inifiniterecyclerview

Snappyrecyclerview
An extension to RecyclerView which will snap to child Views to the specified anchor, START, CENTER or END.
Stars: ✭ 178 (+125.32%)
Mutual labels:  view, recyclerview
SlideTable
可以滑动 以表格形式展示数据
Stars: ✭ 14 (-82.28%)
Mutual labels:  view, recyclerview
Shimmer Recyclerview X
🌀 ShimmerRecyclerViewX for AndroidX
Stars: ✭ 193 (+144.3%)
Mutual labels:  view, recyclerview
Eclipseloading
🌞 日食加载动画
Stars: ✭ 114 (+44.3%)
Mutual labels:  view, loading
Discretescrollview
A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations.
Stars: ✭ 5,533 (+6903.8%)
Mutual labels:  view, recyclerview
Cosin
Android loading view library 📊🍭
Stars: ✭ 129 (+63.29%)
Mutual labels:  view, loading
recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+56.96%)
Mutual labels:  view, recyclerview
Imagezoom
An Android library that makes any view to be zoomable.
Stars: ✭ 118 (+49.37%)
Mutual labels:  view, recyclerview
Recyclerview Fastscroller
A fully customizable Fast Scroller for the RecyclerView in Android, written in Kotlin
Stars: ✭ 585 (+640.51%)
Mutual labels:  view, recyclerview
Zloading
[Android] 这是一个自定义Loading View库。暂停更新
Stars: ✭ 552 (+598.73%)
Mutual labels:  view, loading
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (+1643.04%)
Mutual labels:  view, loading
Candyview
Implement any RecyclerView in just 1 Line. CandyView handles everything for you.
Stars: ✭ 15 (-81.01%)
Mutual labels:  view, recyclerview
TimelineView
A customizable and easy-to-use Timeline View library for Android. Works as a RecyclerView decorator (ItemDecoration)
Stars: ✭ 169 (+113.92%)
Mutual labels:  view, recyclerview
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (+401.27%)
Mutual labels:  view, loading
Windowimageview
An ImageView display in RecyclerView, looks like window.
Stars: ✭ 699 (+784.81%)
Mutual labels:  view, recyclerview
Fiftyshadesof
An elegant context-care loading placeholder for Android
Stars: ✭ 1,110 (+1305.06%)
Mutual labels:  view, loading
Calendarview
Calendar View Library
Stars: ✭ 71 (-10.13%)
Mutual labels:  view
Gencycler
Gencycler is the fastest way to write RecyclerView adapters
Stars: ✭ 73 (-7.59%)
Mutual labels:  recyclerview
Groupedrecyclerviewadapter
GroupedRecyclerViewAdapter可以很方便的实现RecyclerView的分组显示,并且每个组都可以包含组头、组尾和子项;可以方便实现多种Type类型的列表,可以实现如QQ联系人的列表一样的列表展开收起功能,还可以实现头部悬浮吸顶功能等。
Stars: ✭ 1,163 (+1372.15%)
Mutual labels:  recyclerview
Indexrecyclerview
[DEPRECATED] a Contact list implements by RecyclerView
Stars: ✭ 1,163 (+1372.15%)
Mutual labels:  recyclerview

InifiniteRecyclerView

This is a tiny library for implementing endless loading list easily in Android applications, similar to those seen in Facebook or Twitter apps. It consists of InfiniteRecyclerView and AbstractInfiniteAdapter that has to be extended by user for usage in their project.

Demo

Usage

The library distribution is hosted on jcenter repository. To include this library in your project, simply add the following line to your module gradle file:

compile 'com.tenclouds:infinite-recyclerview:0.0.2'

You will need to implement AbstractInfiniteAdapter, ItemsLoader interface, and use them with InfiniteRecyclerView.

ItemsLoader interface

ItemsLoader interface consists of one method - getNewItems(). This method is always called in barckground thread and provides new items to add to the list whenever the user scrolls to the bottom of the recyclerview.

AbstractInfiniteAdapter

AbstractInfiniteAdapter has to be extended, much like "normal" recyclerview adapter, and provided with your implementation of ItemsLoader. You can use multiple view types if you want to, just like in "normal" adapter.

InfiniteRecyclerView

This class simply needs to be used instead of normal recycler view, to send callbacks to the adapter when the view is scrolled to the bottom. It supports all of the parameters available for RecyclerView.

License

Copyright 2017 Jakub Komorowski

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this library 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.
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].