I am working on xamarin.forms shared app. I need to open gallery in android device to select multiple images. I created a method in MainActivity.cs class that opens the gallery for android device. My button is in xaml page that page is placed in global folder in shared project. Now I need to access the method of MainActivity class from clicked event of the button. Can anyone tell me how I can access the method through button successfully.