This PR adds a new ItemViewDelegate which is renamed from the old ItemViewBinder, and the old ItemViewBinder now inherits from ItemViewDelegate and provides a compatible LayoutInflater version of ItemViewDelegate implementation.
This change is compatible with the old API, so all projects using MultiType can be upgraded without any changes. But if you need to use a better ItemViewDelegate with a Context parameter, you need to change to inherit ItemViewDelegate by yourself.
This PR adds a new
ItemViewDelegate
which is renamed from the oldItemViewBinder
, and the oldItemViewBinder
now inherits fromItemViewDelegate
and provides a compatibleLayoutInflater
version ofItemViewDelegate
implementation.This change is compatible with the old API, so all projects using MultiType can be upgraded without any changes. But if you need to use a better
ItemViewDelegate
with aContext
parameter, you need to change to inheritItemViewDelegate
by yourself.