Android 12 Developer Preview is here! Try it out, and give us your feedback!

OnSelectionChangedListener

public abstract class OnSelectionChangedListener
extends Object

java.lang.Object
   ↳ com.google.android.material.datepicker.OnSelectionChangedListener<S>


Listener that provides selection.

Summary

Public constructors

OnSelectionChangedListener()

Public methods

void onIncompleteSelectionChanged()
abstract void onSelectionChanged(S selection)

Called with the current selection.

Inherited methods

Public constructors

OnSelectionChangedListener

public OnSelectionChangedListener ()

Public methods

onIncompleteSelectionChanged

public void onIncompleteSelectionChanged ()

onSelectionChanged

public abstract void onSelectionChanged (S selection)

Called with the current selection.

Parameters
selection S