davideas / FlexibleAdapter

Fast and versatile Adapter for RecyclerView which regroups several features into one library to considerably improve the user experience :-)
Apache License 2.0
3.55k stars 553 forks source link

Check the first item to make a custom layout #732

Open leonidas79 opened 5 years ago

leonidas79 commented 5 years ago

I want detect the first Item in order to show a custom layout (setFullSpan(true)) , i mean the first item for the whole items passed to the adapter , not only the first item for each section. how can i achieve that ?