StackCardLayoutManager

Additional

Language
Kotlin
Version
1.0 (Dec 3, 2018)
Created
Dec 3, 2018
Updated
Jan 3, 2019 (Retired)
Owner
Yuki Mima (amyu)
Contributor
Yuki Mima (amyu)
1
Activity
Badge
Generate
Download
Source code

StackCardLayoutManager

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

Screenshots


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)

Credits

StackCardLayoutManager was originally created by Yuki Mima

License

Copyright 2018 amyu.

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.