I find IllegalArgumentException: Called attach on a child which is not detached
when use this mFeedAdapter.notifyItemInserted(0)
to change data, to find this.
But the solution is to change notifyItemInserted
to notifyDataSetChanged
.
I don't want to change the function, because I want to keep the animation. What can i do ?