Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

XAML / Event handler, no method found

$
0
0

Hi,

Here is the code:

AppMaster.xaml

<MasterDetailPage Appearing="AppMaster_Appearing" ... >
...
</MasterDetailPage>

AppMaster.cs

private void AppMaster_Appearing(Object sender, EventArgs e) {
...
}

If I run the app Project -> Options -> Android Build -> Linker -> Linker behaviour with Link all assemblies option, I receive No method found AppMaster_Appearing ... exception.

If I change the option to either Link SDK assemblies only or Don't link, the app runs.

Am I doing something wrong?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>