ExtendedFloatingActionButton.OnChangedCallback

public static abstract class ExtendedFloatingActionButton.OnChangedCallback
extends Object

java.lang.Object
   ↳ com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton.OnChangedCallback


Callback to be invoked when the visibility or the state of an ExtendedFloatingActionButton changes.

Summary

Public constructors

OnChangedCallback()

Public methods

void onExtended(ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been extended to show the icon and the text.

void onHidden(ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been hidden.

void onShown(ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been shown.

void onShrunken(ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been shrunken to show just the icon.

Inherited methods

Public constructors

OnChangedCallback

public OnChangedCallback ()

Public methods

onExtended

public void onExtended (ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been extended to show the icon and the text.

Parameters
extendedFab ExtendedFloatingActionButton: the ExtendedFloatingActionButton that was extended.

onHidden

public void onHidden (ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been hidden.

Parameters
extendedFab ExtendedFloatingActionButton: the ExtendedFloatingActionButton that was hidden.

onShown

public void onShown (ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been shown.

Parameters
extendedFab ExtendedFloatingActionButton: the FloatingActionButton that was shown.

onShrunken

public void onShrunken (ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been shrunken to show just the icon.

Parameters
extendedFab ExtendedFloatingActionButton: the ExtendedFloatingActionButton that was shrunk.