Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

GuidedActionDiffCallback

open class GuidedActionDiffCallback : DiffCallback<GuidedAction!>
kotlin.Any
   ↳ androidx.leanback.widget.DiffCallback<androidx.leanback.widget.GuidedAction>
   ↳ androidx.leanback.widget.GuidedActionDiffCallback

DiffCallback used for GuidedActions, see .

Summary

Public constructors

DiffCallback used for GuidedActions, see .

Public methods

open Boolean
areContentsTheSame(@NonNull oldItem: GuidedAction, @NonNull newItem: GuidedAction)

open Boolean
areItemsTheSame(@NonNull oldItem: GuidedAction, @NonNull newItem: GuidedAction)

open static GuidedActionDiffCallback!

Returns the singleton GuidedActionDiffCallback.

Inherited functions

Public constructors

<init>

GuidedActionDiffCallback()

DiffCallback used for GuidedActions, see .

Public methods

areContentsTheSame

open fun areContentsTheSame(@NonNull oldItem: GuidedAction, @NonNull newItem: GuidedAction): Boolean

areItemsTheSame

open fun areItemsTheSame(@NonNull oldItem: GuidedAction, @NonNull newItem: GuidedAction): Boolean

getInstance

open static fun getInstance(): GuidedActionDiffCallback!

Returns the singleton GuidedActionDiffCallback.

Return
GuidedActionDiffCallback!: The singleton GuidedActionDiffCallback.