Open patelakbari opened 9 months ago
**java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0** jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) java.util.Objects.checkIndex(Objects.java:359) java.util.ArrayList.get(ArrayList.java:434) `com.aminography.primedatepicker.calendarview.PrimeCalendarView.findPositionInList(PrimeCalendarView.kt:991)` com.aminography.primedatepicker.calendarview.PrimeCalendarView.goto(PrimeCalendarView.kt:981) com.aminography.primedatepicker.calendarview.PrimeCalendarView.onRestoreInstanceState(PrimeCalendarView.kt:1380) android.view.View.dispatchRestoreInstanceState(View.java:21660) android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4013) android.view.View.restoreHierarchyState(View.java:21638) android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4013) android.view.View.restoreHierarchyState(View.java:21638) androidx.fragment.app.Fragment.restoreViewState(Fragment.java:689) androidx.fragment.app.Fragment.restoreViewState(Fragment.java:3151) androidx.fragment.app.Fragment.performActivityCreated(Fragment.java:3142) androidx.fragment.app.FragmentStateManager.activityCreated(FragmentStateManager.java:579) androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:264) androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:113) androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1433) androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2977) androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:2895) androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:263) androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:351) mypackage.BaseActivity.onStart(BaseActivity.kt:19) android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1512) android.app.Activity.performStart(Activity.java:8512) android.app.ActivityThread.handleStartActivity(ActivityThread.java:3767) android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221) android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201) android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173) android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) android.app.ActivityThread$H.handleMessage(ActivityThread.java:2393) android.os.Handler.dispatchMessage(Handler.java:111) android.os.Looper.loopOnce(Looper.java:238) android.os.Looper.loop(Looper.java:357) android.app.ActivityThread.main(ActivityThread.java:8088) java.lang.reflect.Method.invoke(Method.java:0) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)