Xamarin.Forms Dropdown aka Spinner

Importing Web APP into the Xamarin.Forms im application is now facing a problem that I cannot find on the network.

How can I create a drop-down list in Xamarin.Forms since there is no choice for it I tried to use compiler directives:

        #if __ANDROID__
         Android.Widget.Spinner dropdown = new Android.Widget.Spinner(this);
        #endif

The thing is, I do not have Android.Content.Context with im in Xamarin.Forms. how can I achieve this to make spinner aka a drop-down list in my Xamarin.Forms application.

Thanks at Advance. Stephen

+4
source share
1 answer
+8

Source: https://habr.com/ru/post/1610937/


All Articles