About 2,020,000 results
Open links in new tab
  1. Simple Android RecyclerView example - Stack Overflow

    I've made a list of items a few times using Android's RecyclerView, but it is a rather complicated process. Going through one of the numerous tutorials online works (this, this, and this are good),...

  2. Simple Android grid example using RecyclerView with …

    recyclerView.setLayoutManager(new GridLayoutManager(this, numberOfColumns)); If you need more help than that, then check out the following example. Full example The following is a minimal …

  3. How to create RecyclerView with multiple view types

    From Create dynamic lists with RecyclerView: When we create a RecyclerView.Adapter we have to specify ViewHolder that will bind with the adapter. public class MyAdapter extends …

  4. android - RecyclerView vs. ListView - Stack Overflow

    RecyclerView was created as a ListView improvement, so yes, you can create an attached list with ListView control, but using RecyclerView is easier as it: Reuses cells while scrolling up/down - this is …

  5. How to add dividers and spaces between items in RecyclerView

    Unlike ListView, the RecyclerView class doesn't have any divider-related parameters. Instead, you need to extend ItemDecoration, a RecyclerView 's inner class: An ItemDecoration allows the application to …

  6. How to implement endless list with RecyclerView? - Stack Overflow

    Oct 24, 2014 · I would like to change ListView to RecyclerView. I want to use the onScroll of the OnScrollListener in RecyclerView to determine if a user scrolled to the end of the list. How do I know …

  7. Error inflating class android.support.v7.widget.RecyclerView

    Aug 25, 2014 · First, Did you check your android-support-v7-recyclerview.jar library present in libs folder? if it is then check if your manifest file that has target sdk version to 21

  8. java - RecyclerView onClick - Stack Overflow

    Jun 29, 2014 · 679 Has anyone using RecyclerView found a way to set an onClickListener to items in the RecyclerView? I thought of setting a listener to each of the layouts for each item but that seems a …

  9. Refreshing data in RecyclerView and keeping its scroll position

    Feb 22, 2015 · How does one refresh the data displayed in RecyclerView (calling notifyDataSetChanged on its adapter) and make sure that the scroll position is reset to exactly where it was? In case of good ol'

  10. How to add a recyclerView inside another recyclerView

    I'm planning to develop an app that shows some dynamic data inside a recyclerCardView. So i decided add a recyclerView called CheckBoxRecyclerView inside my main recyclerView. This is my code for …