The Android Developer Challenge is back! Submit your idea before December 2.

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.