Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

TransformationCallback

public interface TransformationCallback

com.google.android.material.animation.TransformationCallback<T extends android.view.View>


Callback to be invoked when the view undergoes a transformation (e.g., translation or scale). This is particularly useful to react to animations applied to a view, such as the cutout of the BottomAppBar reacting to the FloatingActionButton.

Summary

Public methods

abstract void onScaleChanged(T view)

Called when the view has been scaled.

abstract void onTranslationChanged(T view)

Called when the view has been translated.

Public methods

onScaleChanged

public abstract void onScaleChanged (T view)

Called when the view has been scaled.

Parameters
view T: the view that was scaled.

onTranslationChanged

public abstract void onTranslationChanged (T view)

Called when the view has been translated.

Parameters
view T: the view that was translated.