Redeem Now
Read More
Read now

How to make different span count at different row in recycler view


In this blog, We have shown you how to make custom layout manager to make the different span count at the different row in recycler view.

Here, we will show the 2,2,4,4 span count on different columns.

Different span count at different row

Step 1: make custom adapter,

Step 2: apply to the recycler view,




. . .

Comments (6)

Add Your Comment

  • Shubham Agarwal
    Nice blog thanks for sharing
    • anchit
      Your welcome
  • Ahmad
     Thank you that really helped 🙂
    • anchit
      Your welcome
  • Raymond Mdunge
    Thank you so much
    • anchit
      Your Welcome
  • css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again