You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot create less than three items. Is this intended behavior?
$ adb logcat -b crash -d
02-07 15:34:55.487 27586 27586 E AndroidRuntime: FATAL EXCEPTION: main
02-07 15:34:55.487 27586 27586 E AndroidRuntime: Process: org.arianne.stendhal.client.debug, PID: 27586
02-07 15:34:55.487 27586 27586 E AndroidRuntime: java.lang.IllegalArgumentException: BottomNavigation expects 3 to 5 items. 2 found
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at it.sephiroth.android.library.bottomnavigation.BottomNavigation.setItems(BottomNavigation.kt:532)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at it.sephiroth.android.library.bottomnavigation.BottomNavigation.onAttachedToWindow(BottomNavigation.kt:504)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.View.dispatchAttachedToWindow(View.java:14575)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2880)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2887)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1410)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1140)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6232)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:670)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:606)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5551)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
02-07 15:34:55.487 27586 27586 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
I cannot create less than three items. Is this intended behavior?
Edit: I guess it is.
The text was updated successfully, but these errors were encountered: