android_guides icon indicating copy to clipboard operation
android_guides copied to clipboard

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

Open nihp opened this issue 5 years ago • 3 comments

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

nihp avatar Nov 04 '20 07:11 nihp

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...

tejen avatar Nov 04 '20 07:11 tejen

No

nihp avatar Nov 06 '20 11:11 nihp

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.

bhaskar253 avatar Mar 22 '21 13:03 bhaskar253