Git Product home page Git Product logo

reswipecard's People

Contributors

charleslin0922 avatar chenlin030922 avatar fromsi avatar littlemango avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

reswipecard's Issues

Support of throwing in the previous card

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?

关于卡片全部滑出后,网络请求数据不刷新问题

大佬,我将循环加载改为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 错误呢 楼主

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.