- https://github.com/loopeer/CardStackView
- 视图效果 (View Effects)
- ★★★★★
- 2016-06-22 01:01
- 4189 kb
- Android Studio
- 1547 次
- 296 次
One Custom view for show something just like cards with animations.
介绍:
卡片堆叠显示效果,三种动画。
运行效果:

使用说明:
安装
- dependencies {
- compile 'com.loopeer.library:cardstack:1.0.1'
- }
布局
- <com.loopeer.cardstack.CardStackView
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
java代码
- mStackView = (CardStackView) findViewById(R.id.stackview_main);
- mTestStackAdapter = new TestStackAdapter(this);
- mStackView.setAdapter(mTestStackAdapter);
- mTestStackAdapter.updateData(Arrays.asList(TEST_DATAS));