LithoAnimtableItem

class LithoAnimtableItem(id: Long, absoluteBounds: Rect, outputType: Int, nodeInfo: NodeInfo?, transitionId: TransitionId?) : AnimatableItem

Litho's implementation of the AnimatableItem required by the TransitionsExtension to power animations. This object should NOT be used to inform the should update during mounting, therefore it should NOT be used to host any such information.

Constructors

Link copied to clipboard
constructor(id: Long, absoluteBounds: Rect, outputType: Int, nodeInfo: NodeInfo?, transitionId: TransitionId?)

Functions

Link copied to clipboard
open override fun getAbsoluteBounds(): Rect
Link copied to clipboard
open override fun getAlpha(): Float
Link copied to clipboard
open override fun getId(): Long
Link copied to clipboard
open override fun getOutputType(): Int
Link copied to clipboard
open override fun getRotation(): Float
Link copied to clipboard
open override fun getRotationX(): Float
Link copied to clipboard
open override fun getRotationY(): Float
Link copied to clipboard
open override fun getScale(): Float
Link copied to clipboard
open override fun getTransitionId(): TransitionId?
Link copied to clipboard
open override fun isAlphaSet(): Boolean
Link copied to clipboard
open override fun isRotationSet(): Boolean
Link copied to clipboard
open override fun isRotationXSet(): Boolean
Link copied to clipboard
open override fun isRotationYSet(): Boolean
Link copied to clipboard
open override fun isScaleSet(): Boolean