Open ModirGithub opened 5 years ago
did u initialise and declare the slider???
did u initialise and declare the slider???
crashed on Android 8.0.0 other version fixed
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sothree.slidinguppanel.SlidingUpPanelLayout.addPanelSlideListener(com.sothree.slidinguppanel.SlidingUpPanelLayout$PanelSlideListener)' on a null object reference
FIX this Bug by insert this cods after setContentView
if (Build.VERSION.SDK_INT == 26) { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); } else { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); }
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sothree.slidinguppanel.SlidingUpPanelLayout.addPanelSlideListener(com.sothree.slidinguppanel.SlidingUpPanelLayout$PanelSlideListener)' on a null object reference