IslamicLibraryAndroid
IslamicLibraryAndroid copied to clipboard
Hide's feature in book settings causes crashes
Expected behavior
Supposedly, The app will not crash, while using "Hide Feature" in some books, settings located on the home menu or click on the three dot icon.
Actual behavior
The app is stuck, while using "Hide Features" in some books in book settings located in the home menu or click on the three dot icon.
How to reproduce
"Note: You can change the language to make it easier to produce bugs"


- Instal App here
- Run the app.
- Click on (dot icon) or the "Book Settings" feature.
- Click "Hide feature" in some books, Application will Crash.

Environment
-
Device : Redmi Note 5A
-
System Operating : 7.1.0 Nougat
-
App Version : 1.4.4
Recording Of The Issues
https://youtu.be/S5zwG326w8Y
Logcat
Proof logcat that the application is experiencing Crash & Error Code
06-01 02:44:03.937 1906 1906 E AndroidRuntime: FATAL EXCEPTION: main
06-01 02:44:03.937 1906 1906 E AndroidRuntime: Process: com.fekracomputers.islamiclibrary, PID: 1906
06-01 02:44:03.937 1906 1906 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:-1).state:6 android.support.v7.widget.RecyclerView{792e718 VFED..... .F....ID 0,0-720,1120 #7f0900eb app:id/home_screen_horizontal_list_container}, adapter:com.fekracomputers.islamiclibrary.homeScreen.adapters.HomeScreenRecyclerViewAdapter@85e571, layout:android.support.v7.widget.LinearLayoutManager@b514f56, context:com.fekracomputers.islamiclibrary.browsing.activity.BrowsingActivity@30699c4
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5817)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5752)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5748)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2232)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1559)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1519)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:614)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3763)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3527)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1767)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:356)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:876)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:688)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:620)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:862)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:754)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.os.Looper.loop(Looper.java:163)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6361)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
06-01 02:44:03.937 1906 1906 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
Thanks so much for the detailed report
Your Welcome brother
Hi admin? Can I contribute a more simple new logo for your application. if you give permission, I will do the design and make a proposal on the issue. thank you :)
On Jun 5, 2018 10:10 PM, "Mohammad Yahia" [email protected] wrote:
Thanks so much for the detailed report
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fekracomputers/IslamicLibraryAndroid/issues/83#issuecomment-394746487, or mute the thread https://github.com/notifications/unsubscribe-auth/AjxvRVy8k2SPxS0wrlJw6lqktZy3Bu0fks5t5p9pgaJpZM4UVptn .
of course If you wold like to design a better logo we will use it
Thanks, I'll do it.
On Tue, Jun 19, 2018, 12:43 AM Mohammad Yahia [email protected] wrote:
of course If you wold like to design a better logo we will use it
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fekracomputers/IslamicLibraryAndroid/issues/83#issuecomment-398137459, or mute the thread https://github.com/notifications/unsubscribe-auth/AjxvRVoQqowWMhvH_kqnqgSdwP0sOHBEks5t9-bWgaJpZM4UVptn .