The main goal is to practice RecyclerView ConcatAdapter a new RecyclerView Adapter that can combine multiple adapters linearly.
Read more about Concatenate adapters sequentially with ConcatAdapter by Florina Muntenescu.
LinearLayoutManager (Vertical)
<androidx.recyclerview.widget.RecyclerView
...
app:spanCount="2"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"/>
Try adding horizontal orientation android:orientation="horizontal"
to GridLayoutManager or LinearLayoutManager.
Feel free to report or add any useful feature, I will be glad to improve it with your help.
- Erik Jhordan Rey - [email protected]