Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindable RecyclerView Causes java.lang.IllegalArgumentException #162

Open
sdoward opened this issue Jan 29, 2018 · 0 comments
Open

Bindable RecyclerView Causes java.lang.IllegalArgumentException #162

sdoward opened this issue Jan 29, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@sdoward
Copy link

sdoward commented Jan 29, 2018

Please see the stacktrace below

Fatal Exception: java.lang.IllegalArgumentException: Tmp detached view should be removed from RecyclerView before it can be recycled: ViewHolder{4b9747f position=-1 id=-1, oldPos=-1, pLpos:-1 removed tmpDetached no parent} solutions.alterego.androidbound.android.ui.BindableRecyclerView{40ea6fc VFED..... ........ 32,368-1048,783 #7f080220 app:id/rv_search_teams}, adapter:solutions.alterego.androidbound.android.adapters.BindableRecyclerViewAdapter@db1572a, layout:android.support.v7.widget.LinearLayoutManager@18d191b, context:org.sharethemeal.app.screens.teams.teamsearch.TeamSearchActivity@2f91246
       at android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal(RecyclerView.java:5896)
       at android.support.v7.widget.RecyclerView.removeAnimatingView(RecyclerView.java:1350)
       at android.support.v7.widget.RecyclerView$ItemAnimatorRestoreListener.onAnimationFinished(RecyclerView.java:12015)
       at android.support.v7.widget.RecyclerView$ItemAnimator.dispatchAnimationFinished(RecyclerView.java:12515)
       at android.support.v7.widget.SimpleItemAnimator.dispatchMoveFinished(SimpleItemAnimator.java:293)
       at android.support.v7.widget.DefaultItemAnimator$6.onAnimationEnd(DefaultItemAnimator.java:311)
       at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1122)
       at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:552)
       at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1209)
       at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1449)
       at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
       at android.animation.AnimationHandler.-wrap2(Unknown Source)
       at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:909)
       at android.view.Choreographer.doCallbacks(Choreographer.java:723)
       at android.view.Choreographer.doFrame(Choreographer.java:655)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
       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:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
@mrsasha mrsasha self-assigned this Apr 9, 2018
@mrsasha mrsasha added the bug label Apr 9, 2018
@mrsasha mrsasha added this to the 0.10 milestone Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants