diff --git a/library/src/main/java/me/drakeet/multitype/ItemViewBinder.java b/library/src/main/java/me/drakeet/multitype/ItemViewBinder.java index 801f3a14..734345c8 100644 --- a/library/src/main/java/me/drakeet/multitype/ItemViewBinder.java +++ b/library/src/main/java/me/drakeet/multitype/ItemViewBinder.java @@ -28,7 +28,6 @@ public abstract class ItemViewBinder { /* internal */ MultiTypeAdapter adapter; - /* internal */ List items; @NonNull diff --git a/library/src/main/java/me/drakeet/multitype/MultiTypeAdapter.java b/library/src/main/java/me/drakeet/multitype/MultiTypeAdapter.java index cf9c1adf..7528cfc2 100644 --- a/library/src/main/java/me/drakeet/multitype/MultiTypeAdapter.java +++ b/library/src/main/java/me/drakeet/multitype/MultiTypeAdapter.java @@ -133,7 +133,6 @@ public final ViewHolder onCreateViewHolder(ViewGroup parent, int indexViewType) } ItemViewBinder binder = getBinderByIndex(indexViewType); binder.adapter = MultiTypeAdapter.this; - binder.items = items; assert inflater != null; return binder.onCreateViewHolder(inflater, parent); }