added in version 27.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

GuidedActionDiffCallback

public class GuidedActionDiffCallback
extends DiffCallback<GuidedAction>

java.lang.Object
   ↳ android.support.v17.leanback.widget.DiffCallback<android.support.v17.leanback.widget.GuidedAction>
     ↳ android.support.v17.leanback.widget.GuidedActionDiffCallback


DiffCallback used for GuidedActions, see setActionsDiffCallback(DiffCallback).

Summary

Public constructors

GuidedActionDiffCallback()

Public methods

boolean areContentsTheSame(GuidedAction oldItem, GuidedAction newItem)

Called to decide whether two items have the same data.

boolean areItemsTheSame(GuidedAction oldItem, GuidedAction newItem)

Called to decide whether two objects represent the same item.

static GuidedActionDiffCallback getInstance()

Returns the singleton GuidedActionDiffCallback.

Inherited methods

From class android.support.v17.leanback.widget.DiffCallback
From class java.lang.Object

Public constructors