Open eduardoagr opened 2 years ago
I just encountered this issue. My Command will ultimately call INavigation.PushAsync to change pages.
A workaround for me, and perhaps a clue to the issue, was to wrap my Command's functionality in Device.BeginInvokeOnMainThread:
private void MyCommandMethod() { Device.BeginInvokeOnMainThread(() => { // my code }); }
Well if you use a gesture recognizer, it will work
Description
I have a
Stack Trace
Link to Reproduction Sample
Steps to Reproduce
<NavigationPage.TitleView>
<Label>
inside of the<NavigationPage.TitleView>
`Expected Behavior
Be able to touch and execute the command
Actual Behavior
System.NotSupportedException: 'Unable to activate instance of type Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer from native handle 0x7ffee5901f14 (key_handle 0x92850c6).'
Basic Information
Workaround
Use a Gesture recognizer -
Reproduction imagery