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

Save

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,

 

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


6 comments

  • Shubham Agarwal
    Nice blog thanks for sharing
    • anchit (Moderator)
      Your welcome
  • Ahmad
     Thank you that really helped 🙂
    • anchit (Moderator)
      Your welcome
  • Raymond Mdunge
    Thank you so much
    • anchit (Moderator)
      Your Welcome
  • css.php

    All communication is done through a ticket system. I appreciate the regular almost daily updates of what is being worked on, and communicating changes or updates is easy through this system. Mobikul's response timeframe is quick.

    Josh Arnold

    Josh Arnold

    Owner, Shop ATV Escape

    Talk to Sales

    Global

    Live Chat
    Start a Project


      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home