Forum Xamarin.Forms

Panel with attachments

InfernnoInfernno USMember ✭✭
edited February 2019 in Xamarin.Forms

Hello everyone,
I need to make a panel where the user could select attachments using Xamarin.Forms, like the way it is done in Telegram , so it would work on both iOS and Android.
At the top of this panel there is a list of previews of photos and videos. Below you can see buttons that allow you to select all other things.
Here are my questions:
1) Can it be implemented purely in Xamarin.Forms?
2) How can this be implemented better in terms of performance? Would it require custom renderers?
3) Any other hints or clues?
How it looks like: us.v-cdn.net/5019960/uploads/editor/aa/97beyabwilzt.png
P.S. Sorry, not allowed to post links.

Answers

  • JarvanJarvan Member, Xamarin Team Xamurai

    You can add a button to achieve the feature. When the button is clicked ,the screen will Popup a page where you can use Grid to display previews of photos and videos.

  • InfernnoInfernno USMember ✭✭

    Well, this seems like a good starting point, but it turned out that popup completely hides the parent page, while I need to move (shift) it up like on the screenshot. Any ideas?

  • JarvanJarvan Member, Xamarin Team Xamurai

    Do you want to move the list of photos and videos ? You can use Gallery in Grid to achieve this feature.
    Refer to https://docs.microsoft.com/en-us/xamarin/android/user-interface/controls/gallery

Sign In or Register to comment.