Device.OnPlatform(
//broken in Xamarin 1.2. Awaiting a fix
Android: () =>
{
var tbi = new ToolbarItem("Refresh", "", () =>
{
BuildView(layout);
}, 0, 0);
tbi.Order = ToolbarItemOrder.Secondary; // forces it to appear in menu on Android
if (ToolbarItems.Count == 0)
ToolbarItems.Add(tbi);
}
);
}
It breaks when I make a gesture(touch) on the screen it breaks.
This is the exact error which i am facing now. I am using Xamarin Missing method Android.Widget.SearchView::get_InputType() in assembly Mono.Android.dll, referenced in assembly Xamarin.Forms.Platform.Android.dll