SpannedGridLayoutManager - Android RecyclerView

  •        869

SpannedGridLayouManager is a layout manager that will resize and reorder views based on a provided SpanSize. IMPORTANT: as the goal of this LayoutManager is to fill all gaps if possible, views may be placed in an order which may not be related to their positions. That is, if View #9 can fill a gap before View #8, it will be placed in an previous position, ignoring the normal ordering.



Related Projects

vlayout - Project vlayout is a powerfull LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView

  •    Java

Project vlayout is a powerful LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView. Make it able to handle a complicate situation when grid, list and other layouts in the same recyclerview.By providing a custom LayoutManager to RecyclerView, VirtualLayout is able to layout child views with different style at single view elegantly. The custom LayoutManager manages a serial of layoutHelpers where each one implements the specific layout logic for a certain position range items. By the way, implementing your custom layoutHelper and provding it to the framework is also supported.

RecyclerView-FastScroller - A fully customizable Fast Scroller for the RecyclerView in Android, written in Kotlin and 100% compatible with Java only projects

  •    Kotlin

As Kotlin compiles to Java, there's no need to externally add the Kotlin runtime or any other Kotlin dependencies when using this. Also the library is 100% compatible with Java and requires no migration of the base project to Kotlin. To reflect the item on the index of the top-most visible item, make the adapter implement the OnPopupTextUpdate interface, which overrides the method onChange(int index) which passes the index of the element whose info needs to be displayed in the popup.

LastAdapter - Don't write a RecyclerView adapter again. Not even a ViewHolder!

  •    Kotlin

The list of items can be an ObservableList if you want to get the adapter automatically updated when its content changes, or a simple List if you don't need to use this feature. The LayoutHandler interface allows you to use different layouts based on more complex criteria. Its one single method receives the item and the position and returns the layout resource id.

recyclerview-playground - Examples of RecyclerView use and custom LayoutManager implementations

  •    Java

This repository contains examples for using the RecyclerView widget found in the Android Support Library. This repository contains sample code intended to demonstrate the capabilities of the RecyclerView layout manager APIs. It is not intended to be used as-is in applications as a library dependency, and will not be maintained as such. Bug fix contributions are welcome, but issues and feature requests will not be addressed.

DiscreteScrollView - A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations

  •    Java

The library is a RecyclerView-based implementation of a scrollable list, where current item is centered and can be changed using swipes. It is similar to a ViewPager, but you can quickly and painlessly create layout, where views adjacent to the currently selected view are partially or fully visible on the screen. Add this into your dependencies block.

turn-layout-manager - A carousel layout manager for RecyclerView

  •    Java

A simple carousel for RecyclerView. Just like a LinearLayoutManager, a TurnLayoutManager specifies an orientation, either VERTICAL or HORIZONTAL for vertical and horizontal scrolling respectively.

greedo-layout-for-android - Full aspect ratio grid LayoutManager for Android's RecyclerView

  •    Java

A drop-in custom layout manager for Android RecyclerViews to layout a grid of photos while respecting their aspect ratios. See the sample project for a complete solution on how to use GreedoLayout. Below are the specific steps.

Splitties - A family of small Kotlin libraries for delightful Android development

  •    Kotlin

Splitties is a collection of small independent Android libraries that aims to make developing apps and libraries for Android (including Wear, TV, Things, Auto and ChromeOS targeted) easier and more fun. Some modules are similar to what Anko provides.

LayoutManagerGroup - :point_right: Customize the LayoutManager of RecyclerView(自定义LayoutManager)

  •    Java

:point_right: Customize the LayoutManager of RecyclerView(自定义LayoutManager)

MapMe - The Android maps adapter

  •    Kotlin

MapMe is an Android library for working with Maps. MapMe brings the adapter pattern to Maps, simplifying the management of markers and annotations. MapMe takes the pain out of click listeners too. No more setting tags on markers and trying to match a tag to your data when the click event is received.

Yaksa - A lightweight RecyclerView tool that lets you render items like Javascript.

  •    Kotlin

A lightweight RecyclerView tool that lets you render items like Javascript. As we all know, using RecyclerView to display list data is a must-have feature for every Android developer.

bento - A delicious framework for building modularized Android user interfaces, by Yelp.

  •    Kotlin

Bento is a framework inspired by Epoxy for building complex, modularized Android user interfaces. By leveraging the mechanics and best practices behind RecyclerViews on Android, Bento makes it easy to compose various resusable visual components into a single screen. At Yelp, we've been using Bento for our most critical and complex screens in both our consumer and business owner Android applications. Most Android apps that have a list-based user interface use a RecyclerView to display their views. At a basic level, the RecyclerView works by referencing an ordered list of data and creating a view on screen for each item of data in that list. That works really well if your list consists of homogenous data types, but can quickly become unruly when you need to manage an unbounded number of data and view types to be rendered in a list. It also becomes an issue if you need to use the same view type in a different type of user interface other than a RecyclerView, such as a ViewPager or a ListView.

CycleMenu - Custom LayoutManager for the inner RecyclerView

  •    Java

During its development, we have created a custom LayoutManager for the inner RecyclerView in order to display the elements in a circle with the possibility to scroll them.

recyclerview-animators - An Android Animation library which easily add itemanimator to RecyclerView items

  •    Java

RecyclerView Animators is an Android library that allows developers to easily create RecyclerView with animations. Please feel free to use this.

DragSortAdapter - Drag and drop re-ordering adapter for RecyclerView

  •    Java

Drag and Drop adapter implementation for RecyclerView. Targeted to support any LayoutManager and ItemAnimator. Note: This is an advanced library meant to be flexible and customizable which leads to more complexity in integration. It is not meant to be a simple drop-in. If you need even more customization I suggest exploring the source and copying relevant code that you need.

MultiViewAdapter - Recyclerview Adapter library to create composable view holders

  •    Java

Helper library for recyclerviews to create composable view holders without boilerplate code. The Gradle dependency is available via JCenter. JCenter is the default maven repository used by Android Studio.

FastAdapter - The bullet proof, fast and easy to use adapter library, which minimizes developing time to a fraction

  •    Java

The RecyclerView is one of the most used widgets in the Android world, and with it you have to implement an Adapter which provides the items for the view. Most use cases require the same base logic, but require you to write everything again and again. The FastAdapter is here to simplify this process. You don't have to worry about the adapter anymore. Just write the logic for how your view/item should look like, and you are done. This library has a fast and highly optimized core which provides core functionality, most apps require. It also prevents common mistakes by taking away those steps from the devs. Beside being blazing fast, minimizing the code you need to write, it is also really easy to extend. Just provide another adapter implementation, hook into the adapter chain, custom select / deselection behaviors. Everything is possible.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.