chenlin030922 / reswipecard Goto Github PK
View Code? Open in Web Editor NEWa light lib for swipe the cards implemented by RecyclerView
License: Apache License 2.0
a light lib for swipe the cards implemented by RecyclerView
License: Apache License 2.0
hi there,
thanks for your lib,
is there any way to see more space of behind items ?
Hi there, thanks for creating this useful library.
I having a requirement which I need to reverse back the previous card that I swiped out.
Is that any implementation or clues for me to do this feature?
请教一下,当数据全部滑动出去后,我显示了空提示界面emptyview,这时如何禁止滑动
就是向左滑动一下,然后再向右滑动一下,之前的图片又回到原来的位置。就像viewpager那样
奥利给.
像探探一样, 支持方向(上,左,右)的撤销动作
item点击事件无效,有大神知道怎么解决么
大佬,我将循环加载改为false,然后在方法中重新加载数据,调用 cardAdapter.notifyDataSetChanged();
卡片并没有刷新,是我调用的方法不对吗,还是有其他的方式加载新的数据?谢谢了
@OverRide
public void onSwipedClear() {
Toast.makeText(getActivity(), "data clear"+list.size(), Toast.LENGTH_SHORT).show();
cardRecycleview.postDelayed(new Runnable() {
@OverRide
public void run() {
list = CardMaker.initCards();
cardAdapter.notifyDataSetChanged();
}
}, 3000);
}
请教一下 我的适配器item是全屏的 为啥会抛出这个 java.lang.IllegalArgumentException: pls use SwipeTouchLayout as root on your item xml 错误呢 楼主
放在一个recycler里面当做一种itemType,水平滑动和recycler的竖直滑动冲突,事件分发在哪里处理好点?
上面的卡片滑动出去回到最下面
左右点击 左滑右滑 怎么处理阿 我用的也是内个大佬的demo 但是他那边没有写这个 你是怎么处理的?
现在想做一个牵手app首页的页面功能,垂直方向的拖拽不要
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.