Skip to content

How can I make a collection view using recyclerview and it has a image as below (Not a scrolling list) #406

Open

Description

@nihp

I need like below image in my app.

(If it is one it occupies fully, if two image it splits in to two if three it will be 3 image

Screenshot 2020-11-04 at 12 46 20 PM

Activity

  1. tejen commented on Nov 4, 2020

    @tejen

    Hi @nihp are you currently taking a CodePath bootcamp course at the moment? If so, we can help you personally at discussions.codepath.com or codepath.slack.com! Let me know...

  2. nihp commented on Nov 6, 2020

    @nihp
    Author

    No

  3. bhaskar253 commented on Mar 22, 2021

    @bhaskar253

    I don't know exactly, but the approach I might have taken in this situation is like have 3 different layout xmls, one with only one image container, one with 2 image containers and last one with all 3 image containers. Based on the number of images I would have inflated the view on the parent container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions