/ Cards

The movement of a new card type UI for Android

The movement of a new card type UI for Android

StackCardLayoutManager

This project is the movement of a new card type UI for Android.

screen

capture1

capture2

Requirements

Min Sdk Version : 21

How to use

  1. Add this to your build.gradle.
repositories {
    maven {
        url "https://jitpack.io"
    }
}

dependencies {
    implementation 'com.github.amyu:StackCardLayoutManager:1.0'
}
  1. Set StackCardLayoutManager in RecyclerView
val recyclerView = findViewById<RecyclerView>(R.id.recycler_view)
val maxItemCount = 5
recyclerView.layoutManager = StackCardLayoutManager(maxItemCount)

GitHub