ExtendedFloatingActionButton.OnChangedListener

public static abstract class ExtendedFloatingActionButton.OnChangedListener
extends Object

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


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

Summary

Public constructors

ExtendedFloatingActionButton.OnChangedListener()

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

From class java.lang.Object

Public constructors

ExtendedFloatingActionButton.OnChangedListener

ExtendedFloatingActionButton.OnChangedListener ()

Public methods

onExtended

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

void onHidden (ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been hidden.

Parameters
extendedFab ExtendedFloatingActionButton: the ExtendedFloatingActionButton that was hidden.

onShown

void onShown (ExtendedFloatingActionButton extendedFab)

Called when a ExtendedFloatingActionButton has been shown.

Parameters
extendedFab ExtendedFloatingActionButton: the FloatingActionButton that was shown.

onShrunken

void onShrunken (ExtendedFloatingActionButton extendedFab)

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

Parameters
extendedFab ExtendedFloatingActionButton: the ExtendedFloatingActionButton that was shrunk.