Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loopeer/CardStackView
One Custom view for show something just like cards with animations.
https://github.com/loopeer/CardStackView
Last synced: 3 months ago
JSON representation
One Custom view for show something just like cards with animations.
- Host: GitHub
- URL: https://github.com/loopeer/CardStackView
- Owner: loopeer
- Created: 2016-06-03T10:53:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T03:21:54.000Z (over 7 years ago)
- Last Synced: 2024-06-16T03:31:38.792Z (5 months ago)
- Language: Java
- Homepage:
- Size: 3.99 MB
- Stars: 2,174
- Watchers: 49
- Forks: 342
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-android-ui - CardStackView - 以三种动画效果像卡片一样展示内容 (Card)
README
# CardStackView
Show something like cards with 3 kinds of animations(alldown, updown, updownstack). Two ways to scroll the items:one is scroll normal as listview, other one is scroll to overlap first one.Screenshot
====
![](/screenshot/screenshot1.gif) ![](/screenshot/screenshot2.gif) ![](/screenshot/screenshot3.gif)Installation
====
```groovy
dependencies {
compile 'com.loopeer.library:cardstack:1.0.2'
}
```Usages
====
```xml```
```java
mStackView = (CardStackView) findViewById(R.id.stackview_main);
mTestStackAdapter = new TestStackAdapter(this);
mStackView.setAdapter(mTestStackAdapter);
mTestStackAdapter.updateData(Arrays.asList(TEST_DATAS));
```License
====
Copyright 2016 LoopeerLicensed 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 athttp://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.