https://github.com/amyu/stackcardlayoutmanager
https://github.com/amyu/stackcardlayoutmanager
android layoutmanager recyclerview
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/amyu/stackcardlayoutmanager
- Owner: amyu
- License: apache-2.0
- Created: 2018-12-03T12:24:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-03T09:16:18.000Z (over 7 years ago)
- Last Synced: 2025-04-02T06:07:59.941Z (about 1 year ago)
- Topics: android, layoutmanager, recyclerview
- Language: Kotlin
- Size: 6.91 MB
- Stars: 401
- Watchers: 3
- Forks: 37
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# StackCardLayoutManager
[]() []( https://android-arsenal.com/details/1/7358 ) [](https://jitpack.io/#amyu/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**.
```groovy
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
implementation 'com.github.amyu:StackCardLayoutManager:1.0'
}
```
2) Set StackCardLayoutManager in RecyclerView
```kotlin
val recyclerView = findViewById(R.id.recycler_view)
val maxItemCount = 5
recyclerView.layoutManager = StackCardLayoutManager(maxItemCount)
```
## Credits
StackCardLayoutManager was originally created by [Yuki Mima](https://github.com/amyu)
## 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.