library / com.camerash.filterdrawer / ExpandableLayoutIndicatorListener

ExpandableLayoutIndicatorListener

class ExpandableLayoutIndicatorListener : OnExpansionUpdateListener

Used in conjunction with ExpansionLayout for rotation animation of the arrow indicator

Parameters

iv - ImageView for the animation to apply on

maxDegree - Maximum rotation degree for the ImageView animation to turn in the ClockWise direction

Author
Camerash

Constructors

<init>

ExpandableLayoutIndicatorListener(iv: ImageView, maxDegree: Int)

Used in conjunction with ExpansionLayout for rotation animation of the arrow indicator

Functions

onExpansionUpdate

fun onExpansionUpdate(expansionFraction: Float, state: Int): Unit