zaguragit / posidon-launcher

a one-page homescreen with a news feed (discontinued)
GNU General Public License v3.0
287 stars 32 forks source link

launcher crashes on swiping one of the notifications right. #33

Open Shrey-Rawat opened 4 years ago

Shrey-Rawat commented 4 years ago

can not access t.me/posidonlauncher because it has been banned by the dot compliance.

Here is the crash report.

java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 2(offset:2).state:3 androidx.recyclerview.widget.RecyclerView{589fa7 VFED..... ......ID 0,280-1080,1469 #7f0a0156 app:id/notifications}, adapter:posidon.launcher.feed.notifications.NotificationAdapter@88b0c54, layout:posidon.launcher.view.LinearLayoutManager@dee07fd, context:posidon.launcher.Main@c050312

Device.api: 28 Device.brand: Xiaomi Device.model: POCO F1 Version.code: 62 Version.name: 1.14

at: androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6183) at: androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6118) at: androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6114) at: androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303) at: androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1627) at: androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587) at: androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665) at: androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134) at: androidx.recyclerview.widget.RecyclerView.onMeasure(RecyclerView.java:3540) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at: android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at: android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at: android.view.View.measure(View.java:23223) at: androidx.core.widget.NestedScrollView.measureChildWithMargins(NestedScrollView.java:1534) at: android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at: androidx.core.widget.NestedScrollView.onMeasure(NestedScrollView.java:581) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:760) at: androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:833) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at: androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at: android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at: android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at: android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at: android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at: android.view.View.measure(View.java:23223) at: android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6753) at: android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at: com.android.internal.policy.DecorView.onMeasure(DecorView.java:737) at: android.view.View.measure(View.java:23223) at: android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2812) at: android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1662) at: android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1946) at: android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1550) at: android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7447) at: android.view.Choreographer$CallbackRecord.run(Choreographer.java:1065) at: android.view.Choreographer.doCallbacks(Choreographer.java:877) at: android.view.Choreographer.doFrame(Choreographer.java:808) at: android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1051) at: android.os.Handler.handleCallback(Handler.java:873) at: android.os.Handler.dispatchMessage(Handler.java:99) at: android.os.Looper.loop(Looper.java:201) at: android.app.ActivityThread.main(ActivityThread.java:6806) at: java.lang.reflect.Method.invoke(Native Method) at: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

maybe this is not the right way and someone can forward this to the right destination.

zaguragit commented 4 years ago

I'll fix it. Isn't "dot compliance" a drug & alcohol related thing 😂️?