I am trying to preselect some chips. I want some data to be selected by default from filterablelist. I tried it, it works for one chip. But when adding more than one chip, the application crashes with the error:
Called attach on a child which is not detached: ViewHolder{3f95204 position=3 id=-1, oldPos=-1, pLpos:-1 not recyclable(0)} android.support.v7.widget.RecyclerView{7b95a56 VFED..... ......ID 0,0-569,123 #7f090049 app:id/chips_recycler}, adapter:com.pchmn.materialchips.adapter.ChipsAdapter@87ae2e0, layout:com.beloo.widget.chipslayoutmanager.ChipsLayoutManager@6b30999
I am trying to preselect some chips. I want some data to be selected by default from filterablelist. I tried it, it works for one chip. But when adding more than one chip, the application crashes with the error:
Called attach on a child which is not detached: ViewHolder{3f95204 position=3 id=-1, oldPos=-1, pLpos:-1 not recyclable(0)} android.support.v7.widget.RecyclerView{7b95a56 VFED..... ......ID 0,0-569,123 #7f090049 app:id/chips_recycler}, adapter:com.pchmn.materialchips.adapter.ChipsAdapter@87ae2e0, layout:com.beloo.widget.chipslayoutmanager.ChipsLayoutManager@6b30999