ImageAnimationElementpublic static interface Element.OnLayoutDirectionChangeListener
This class receives a notification when the Element layout direction changes.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onLayoutDirectionChanged(Element element,
Component.LayoutDirection direction) |
Called when the layout direction of an
Element changes. |
boolean onLayoutDirectionChanged(Element element, Component.LayoutDirection direction)
Element changes.element - Indicates the Element whose layout direction is changed.direction - Indicates the updated layout direction.true if the Element needs invalidation (re-drawing); returns
false otherwise.