drakeet / MultiType

Flexible multiple types for Android RecyclerView.
Apache License 2.0
5.76k stars 751 forks source link

Rescued onBindViewHolder(holder, position) #171

Closed drakeet closed 7 years ago

drakeet commented 7 years ago

Since we overwritten the onBindViewHolder(ViewHolder holder, int position, List <Object> payloads), so RecyclerView will not call onBindViewHolder(ViewHolder holder, int position), onBindViewHolder(ViewHolder holder, int position) becomes an island, then we can turn it to the payloads method. This makes it easier for outside calls.