GithubHelp home page GithubHelp logo

markosullivan94 / swipereveallayoutexample Goto Github PK

View Code? Open in Web Editor NEW
94.0 94.0 47.0 135 KB

Demonstration for my blog post on Medium which describes how to implement swipeable items for your RecyclerView

Home Page: https://medium.com/@markosullivan/android-recyclerview-swipeable-items-46a3c763498d

License: MIT License

Java 100.00%

swipereveallayoutexample's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar

swipereveallayoutexample's Issues

programmatically Swipe to a list item click

hi i need to swipe list item by a list item click.I tried like this.but it is not working

    swipeRevealLayout = new SwipeRevealLayout(getActivity());
      swipeRevealLayout.open(true);

Swiped view is not reset when reused in RecyclerView

Almost everything works fine , but still it has this small issue:
If I swipe first item and then scroll down - another item ( approximately 12th, depends on RecylerView decision to reuse the view), is also swiped - as it's first item view reused - view's close method should be called in onBindViewHolder. Maybe worth to mention in the article and fix here?

Decrease Swipe Senstivity

When i click on the button behind the recyclerview item, i have to it click many times as the item starts to swipe (during click button) most of the time . How can i decrease the senstivity for item swiping.

MainView did not close after button action.

Hey Mark, I tried your reference in a sample app, I facing an issue, say for example end user delete the position 2, at that moment position 3 value move to position 2 is working fine, but the opened main view does not close automatically. please help me to resolve this scenario, how may I handle this one using your reference. Thanks in advance.

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.