DisplayActionSheet is not showing up when using Xmarin.Forms Embedded

ScottNimrodScottNimrod USMember ✭✭
edited February 9 in Xamarin.Forms

DisplayActionSheet is not showing when I use Xamarin.Forms Embedded.

Please note that I was able to observe this feature working on a sample app (non Xamarin.Forms Embedded).
However, this feature just isn't working for me on a more involved application that relies on Xamarin.Forms embedded by use of Android Fragments.

I verified that I'm using it on a ContentPage that's the application's main page.

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    What do you mean Xamarin.Forms Embedded? If you want to consume a Xamarin.Forms page in your native project, DisplayActionSheet can be shown up on the Android platform.
    Refer to this sample: https://developer.xamarin.com/samples/xamarin-forms/Native2Forms/ and add a display click event on the PhonewordPage:
    DisplayActionSheet("ActionSheet: Send to?", "Cancel", null, "Email", "Twitter", "Facebook");

Sign In or Register to comment.