Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with BottomTabbedRendererUtils.ChangePage #36

Open
yinchengvy opened this issue Aug 14, 2018 · 0 comments
Open

Crash with BottomTabbedRendererUtils.ChangePage #36

yinchengvy opened this issue Aug 14, 2018 · 0 comments

Comments

@yinchengvy
Copy link

Hi, I've got a crash.

BottomTabbedPage 2.0.3
Xamarin.Forms 3.1.0

BottomTabbedRendererUtils.ChangePage (Naxam.Controls.Platform.Droid.BottomTabbedRenderer renderer, Android.Widget.FrameLayout pageContainer, Xamarin.Forms.Page page)
Java.Lang.RuntimeException: Attempt to invoke virtual method 'void android.support.v7.widget.GapWorker.remove(android.support.v7.widget.RecyclerView)' on a null object reference

ExceptionDispatchInfo.Throw ()
JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args)
JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters)
ViewGroup.RemoveViewAt (System.Int32 index)
BottomTabbedRendererUtils.ChangePage (Naxam.Controls.Platform.Droid.BottomTabbedRenderer renderer, Android.Widget.FrameLayout pageContainer, Xamarin.Forms.Page page)
BottomTabbedRenderer.OnElementPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e)
(wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
BindableObject.OnPropertyChanged (System.String propertyName)
Element.OnPropertyChanged (System.String propertyName)
MultiPage`1[T].OnPropertyChanged (System.String propertyName)
MultiPage`1[T].set_CurrentPage (T value)
BottomTabbedRendererUtils.SwitchPage (Naxam.Controls.Platform.Droid.BottomTabbedRenderer renderer, Android.Views.IMenuItem item)
BottomTabbedRenderer.OnNavigationItemSelected (Android.Views.IMenuItem item)
BottomNavigationView+IOnNavigationItemSelectedListenerInvoker.n_OnNavigationItemSelected_Landroid_view_MenuItem_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_item)

How can I fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant