/expandable-recyclerview-with-gridlayout

This project provides an Expandable RecyclerView with group items that can be individually expanded to show its children in a two-dimensional scrolling grid.

Primary LanguageJavaApache License 2.0Apache-2.0

Expandable RecyclerView With Grid Layout

This is demo project for implementing an Expandable RecyclerView with grid items


Download the example app

Get it on Google Play

Demonstration video on YouTube

Expandable

Target platforms

  • API level 15 or later

Latest version

Getting started

This project provides an Expandable RecyclerView with group items that can be individually expanded to show its children in a two-dimensional scrolling grid.

Usage

[Expandable Grid Item] Each GridRowHolder object receives a data array from RecyclerView adapter to display in a grid row. Then it breaks up the layout of its row in rectangular cells of equal size. Each cell displays a piece of data and can be selected by user.

Please check the implementation of simple example.

License ("Expandable RecyclerView With Grid Layout")

This project is licensed under the Apache Software License, Version 2.0.

See LICENSE for full of the license text.

Copyright (C) 2016 Fabrice Thilaw

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

expandable-recyclerview-with-gridlayout