Package icyllis.modernui.view
Interface View.OnLayoutChangeListener
- Enclosing class:
View
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface definition for a callback to be invoked when the layout bounds of a view
changes due to layout processing.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLayoutChange
(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) Called when the layout bounds of a view changes due to layout processing.
-
Method Details
-
onLayoutChange
void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) Called when the layout bounds of a view changes due to layout processing.- Parameters:
v
- The view whose bounds have changed.left
- The new value of the view's left property.top
- The new value of the view's top property.right
- The new value of the view's right property.bottom
- The new value of the view's bottom property.oldLeft
- The previous value of the view's left property.oldTop
- The previous value of the view's top property.oldRight
- The previous value of the view's right property.oldBottom
- The previous value of the view's bottom property.
-