this article introduces simple way to use RecyclerView
when we use RecyclerView, we do the below
- create a classe extends RecyclerView.Adapter
overrides getItemViewType(), onCreateViewHolder(), onBindViewHolder() - create a class extends RecyclerView.ViewHolder, bind data into view
- 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