chaosifier / TabView

TabView control for Xamarin.Forms.
MIT License
124 stars 32 forks source link

Not running on UWP due to an exception #47

Closed ckshinde closed 3 years ago

ckshinde commented 3 years ago

Trying to run the sample project (from Github) on UWP but gives the following errors,

Error

Also, to test it out on UWP. Created a blank new project, added the Nuget package and initialized CarouselView in UWP. Added the TabView control in XAML, but doesnot work and throws "Object reference not set to an instance of an object" exception

chaosifier commented 3 years ago

Installing TabView plugin in the UWP project as well should fix the issue. It seems like you have only installed it in the shared library.

ckshinde commented 3 years ago

I installed the plugin in UWP project and did the setup as recommended. But it still does not work. I get this exception

System.ArgumentException: Delegate to an instance method cannot have null 'this'. at System.MulticastDelegate.ThrowNullThisInDelegateToInstance() at CarouselView.FormsPlugin.UWP.CarouselViewRenderer.FlipView_Loaded(Object sender, RoutedEventArgs e)