locked
displaying images in a tableview cell similar to facebook or pinterest RRS feed

  • Question

  • User229479 posted

    I'm working on an app that has a list of conversations and in those conversations can be one or more images. I'm looking to have it look similar to how facebook does it where it's in a grid-like format that grows or shrinks images based on the amount present with the option to click on the one with an overlay for conservation with large amount of images.

    here is a general idea of what I'm looking to do:

    PoC

    searching around the closest I found to what I want is this but the example is rather crude and just does simple text, I need to be able to do images and handle setting up an overlay with a counter.

    Tuesday, September 10, 2019 6:10 PM

Answers

  • User369979 posted

    Here is the repo address: https://github.com/andreasjacobsen93/XamarinThirdpartySamples/tree/master/WaterfallCollectionViewLayout-master

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, September 12, 2019 7:48 AM

All replies

  • User369979 posted

    It seems what you want is similar to the effects of uicollection view: https://docs.microsoft.com/en-us/xamarin/ios/user-interface/controls/uicollectionview You can try this blog's workaround to make it like a Pinterest-style: https://pierceboggan.tumblr.com/post/56951869926/pinterest-style-uicollectionviews-in-xamarinios

    Wednesday, September 11, 2019 10:46 AM
  • User229479 posted

    that is actually what I want but sadly the author of that article you posted deleted the repo (not sure why, seems like he could have just archived it instead) so the code is gone which makes the example code he posted not make a whole lot of sense.

    Wednesday, September 11, 2019 2:14 PM
  • User369979 posted

    Here is the repo address: https://github.com/andreasjacobsen93/XamarinThirdpartySamples/tree/master/WaterfallCollectionViewLayout-master

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, September 12, 2019 7:48 AM
  • User229479 posted

    thank you LandLu for finding that

    Thursday, September 12, 2019 2:17 PM