Skip to content
Projekte

Xigong93/ExpandableRecyclerView

Auf GitHub ansehen

Xigong93/ExpandableRecyclerView has 569 GitHub stars and 45 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-22 04:47 UTC. Last push 2021-12-17.

So werden diese Zahlen gemessen

What you can do

  • Expand and close animations smoothly
  • Supports expanding only one Group
  • Support to expand and close all
  • Supports multiple types of items

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

Über uns

ExpandableRecyclerView with smoothly animation.

Kreativität und Medien

README.md

Original

ExpandableRecyclerView

中文README

Design Sketch

Features:

  • Expand and close animations smoothly
  • Supports expanding only one Group
  • Support to expand and close all
  • Supports multiple types of items
  • Supports LinearLayoutManager and GridLayoutManager
  • Support sticky header
  • Expanded state saving and recovery (when switching between portrait and horizontal screens)
  • Support for Java project integration (>= v0.6.0)

Take a look

Download Url https://github.com/pokercc/ExpandableRecyclerView/releases

How to use:

  1. include dependence

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

last_version =

implementation("com.github.pokercc:ExpandableRecyclerView:${last_version}")
  1. Write code
  • Use ExpandableRecyclerView in your layout xml.
  • Inheriting ExpandableAdapter to realize your adapter.

More detail please refer demo

Attention:

  • Using StickyHeader,GroupViewHolder.itemView please set an opaque background, otherwise penetration will occur
  • ExpandableRecyclerView's height must set to match_parent or fixed size, Otherwise, the RecyclerView height may change during expansion and closure, causing problems for the execution of the animation

Design from: https://dribbble.com/shots/3253927-Accordion

Welcome to star or create issue.

Ähnliche Projekte entdecken

Wird geladen…