Project vlayout is a powerfull LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView. Make it able to handle a complicate situation when grid, list and other layouts in the same recyclerview.
VirtualLayoutManager: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:5104)
at android.view.ViewGroup.addView(ViewGroup.java:4929)
at android.view.ViewGroup.addView(ViewGroup.java:4869)
at android.view.ViewGroup.addView(ViewGroup.java:4842)
at zy.ads.engine.adapter.XSubContentAdapter.onBindViewHolder(XSubContentAdapter.java:100)
at zy.ads.engine.adapter.XSubContentAdapter.onBindViewHolder(XSubContentAdapter.java:33)
VirtualLayoutManager: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. at android.view.ViewGroup.addViewInner(ViewGroup.java:5104) at android.view.ViewGroup.addView(ViewGroup.java:4929) at android.view.ViewGroup.addView(ViewGroup.java:4869) at android.view.ViewGroup.addView(ViewGroup.java:4842) at zy.ads.engine.adapter.XSubContentAdapter.onBindViewHolder(XSubContentAdapter.java:100) at zy.ads.engine.adapter.XSubContentAdapter.onBindViewHolder(XSubContentAdapter.java:33)