Closed KPniX closed 8 months ago
Already reproduced by same steps in #10404 Both actually are duplicates of #4475
I'm sorry, but I thought this was the first recorded problem, because I know I saw the same "bug" in every version and still - it hasn't been fixed.
Checklist
Affected version
0.26.1
Steps to reproduce the bug
Expected behavior
After scroll up to top, app shouldn't crashed and display part of interface
Actual behavior
After scroll up to top, app crash
Screenshots/Screen recordings
https://drive.google.com/file/d/1FQ8IvPZRoTWUFPgphZI-bwd99ESycs1N/view?usp=drive_link INFO! This clip was recorded on older version of NewPipe (newest on F-Droid - 0.25.2), but on newest version - 0.26.1 - still have this same problem after this same steps on video/manual. If you request a clip from newest version, please write back.
Logs
Bug report came from Unihertz T200 (Jelly Pro), but this same proble I have too on other phones and Android version:
Exception
Crash log
java.lang.IllegalStateException: ViewHolder views must not be attached when created. Ensure that you are not passing 'true' to the attachToRoot parameter of LayoutInflater.inflate(..., boolean attachToRoot) at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:7297) at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6416) at androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:288) at androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:345) at androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:361) at androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:368) at androidx.recyclerview.widget.GapWorker.run(GapWorker.java:399) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6548) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
Affected Android/Custom ROM version
Android 13 (0.25.2), Android 8.1 (0.26.1)
Affected device model
Samsung Galaxy A54 5G (0.25.2), Unihertz T200 (Jelly Pro) (0.26.1)
Additional information
No response