How I removed all redundancy of RecyclerView: You need to add only 2 line

김정현
Mar 12, 2020

--

this article introduces simple way to use RecyclerView

when we use RecyclerView, we do the below

  1. create a classe extends RecyclerView.Adapter
    overrides getItemViewType(), onCreateViewHolder(), onBindViewHolder()
  2. create a class extends RecyclerView.ViewHolder, bind data into view
  3. set Adapter to RecyclerView

But, design only require only two of the below

  • list data
  • item’s layout

the detail is migrated to https://dss99911.github.io/android/2023/12/24/recyclerview-without-redundancy.html

--

--