-
public class DiffPayloadA helper class for tracking changed models found by the com.airbnb.epoxy.DiffHelper to be included as a payload in the notifyItemChanged call.
-
-
Constructor Summary
Constructors Constructor Description DiffPayload(EpoxyModel<out Object> changedItem)
-
Method Summary
Modifier and Type Method Description static EpoxyModel<out Object>getModelFromPayload(List<Object> payloads, long modelId)Looks through the payloads list and returns the first model found with the given model id. -
-
Constructor Detail
-
DiffPayload
DiffPayload(EpoxyModel<out Object> changedItem)
-
-
Method Detail
-
getModelFromPayload
@Nullable() static EpoxyModel<out Object> getModelFromPayload(List<Object> payloads, long modelId)
Looks through the payloads list and returns the first model found with the given model id. Thisassumes that the payloads list will only contain objects of type DiffPayload, and willthrow if an unexpected type is found.
-
-
-
-