Home > Mobile >  Span size lookup with recyclerview
Span size lookup with recyclerview

Time:10-06

There is a recyclerview which will be loaded with data. I want to show this data in the following way. 1st and 2nd item should be shown as gridview and 3rd as horizontal view and likewise repeat the same for next items. Please share your solution in kotlin.

CodePudding user response:

This library of google will help you please check it

Github

Google Documentation

CodePudding user response:

If you need somthing like this picture, see that codelabs tutorial of google https://codelabs.developers.google.com/codelabs/mdc-104-java

  • Related