XamarinCommunityToolkit icon indicating copy to clipboard operation
XamarinCommunityToolkit copied to clipboard

Navigation stack layout error

Open eduardoagr opened this issue 3 years ago • 2 comments

I am trying to navigate to another page and I am getting this error

System.NotSupportedException: 'Unable to activate instance of type Xamarin.Forms.Platform.Android.Platform+DefaultRenderer from native handle 0x7fff145c7444 (key_handle 0x32500df).

This is what I tried to do

<NavigationPage.TitleView>
        <StackLayout Orientation="Horizontal"
                     community:TouchEffect.Command="{Binding ProfileCommnd}"
                     HorizontalOptions="Start">
            <ffimageloadingsvg:SvgCachedImage Source="{Binding FireUser.PhotoUrl}"
                                              WidthRequest="40"
                                              HeightRequest="40" />



eduardoagr avatar Jan 19 '22 09:01 eduardoagr

I believe this isn't related to XCT, maybe is an XF issue? Anyway, @eduardoagr Could you attach a small repro?

pictos avatar Jan 19 '22 15:01 pictos

here @pictos https://github.com/eduardoagr/Error

The problem comes when you try to use the TouchEffect on the stack, but if you use a gesture recognizer, it works fine

eduardoagr avatar Jan 19 '22 17:01 eduardoagr