Coder Social home page Coder Social logo

trulymittal / recyclerview Goto Github PK

View Code? Open in Web Editor NEW
36.0 2.0 36.0 216 KB

This repo contains all the details about how to create a Recycler View, and in addition to that, it also contains various methods involved inside a recycler view like - ex: how to handle touch events, how to swipe to delete, and much more...

Java 100.00%

recyclerview's Introduction

RecyclerView

This repo contains almost all the logic for implemeting recyclerview in your application.

Branches and associtaed implementation

Just select the from the branch to fetch the associated code:

  1. master : Basic Recycler View
  2. swipe_refresh: Implementation of Pull down to refresh recyclerview
  3. onclick_interface_listener: OnClick listener to recyclerview items, the proper way
  4. swipe_gestures: Swiping Left|Right on row items to delete/archive/etc
  5. drag_and_reorder : Draging a row item to another place inside recyclerview
  6. search_filter_recycler: Filtering recyclerview using the SearchView widget
  7. multi_viewtype: Multiple views for different row items in recycler view

You can watch my videos on youtube for a detailed explanation of the same

  1. RecyclerView Setup and full Explanation: https://youtu.be/9rcrYFO1ogc
  2. Pull down to refresh: https://youtu.be/Ffa0Mtd21_M
  3. On item click using Interface: https://youtu.be/AkiltTv0CjA
  4. Swipe Left|Right row items: https://youtu.be/rcSNkSJ624U
  5. Drag and reorder items: https://youtu.be/H9D_HoOeKWM
  6. Filter using SearchView: https://youtu.be/CTvzoVtKoJ8
  7. Multiple Views (getItemType()): https://youtu.be/VtnLpHUu2U0

Authors

License

This project is licensed under the MIT License.

recyclerview's People

Contributors

trulymittal 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

Watchers

 avatar  avatar

recyclerview's Issues

Issue calling method in main activity

getting an error on the line with recyclerAdapter.getFilter().filter(newText);

android studio is telling me to make the getFilter() method static but when this is done it creates more errors

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.