0

I want to achieve exactly same as show in picture.

enter image description here

I have multiple adapters for multiple recyclerview. I want to combine them in single fragment. I want to achieve the result from each adapter item show sequetially butt not recyclerview in sequence.

I don't have viewtype stored in database, so can't use multiple view holder concept. Also I'm fetching data from multiple sources.

Can anybody guide me how to achieve this behaviour?

Note: I'm at initial stage to achieve this.

Fortray
  • 133
  • 1
  • 1
  • 8
  • You no need multiple adapters... Multi view holder enough for the logic . Follow this sample https://blog.mindorks.com/recyclerview-multiple-view-types-in-android. And construct your list – Gobu CSG Jul 08 '22 at 07:54
  • @GobuCSG I don't have viewtype stored in database, so can't use multiple view holder concept. Also I'm fetching data from multiple sources. – Fortray Jul 08 '22 at 08:01
  • That's okay... Every item have some unique right... You can manage with that... Write a global data class... Like BaseResponse inside put model1 2 3 4 something like that... Then if 1 not null render 1 viewholder like that you can implement – Gobu CSG Jul 08 '22 at 08:04

0 Answers0