LayoutInformationReceiver

interface LayoutInformationReceiver


Summary

Public functions

MotionLayoutDebugFlags
Int
Float

Get the progress of the force progress

Int
LayoutInfoFlags
Unit
onNewProgress(progress: Float)
Unit

reset the force progress flag

Unit
Unit

Public functions

getForcedDrawDebug

Added in 1.1.0
fun getForcedDrawDebug(): MotionLayoutDebugFlags

getForcedHeight

Added in 1.1.0
fun getForcedHeight(): Int

getForcedProgress

Added in 1.1.0
fun getForcedProgress(): Float

Get the progress of the force progress

getForcedWidth

Added in 1.1.0
fun getForcedWidth(): Int

getLayoutInformationMode

Added in 1.1.0
fun getLayoutInformationMode(): LayoutInfoFlags

onNewProgress

Added in 1.1.0
fun onNewProgress(progress: Float): Unit

resetForcedProgress

Added in 1.1.0
fun resetForcedProgress(): Unit

reset the force progress flag

setLayoutInformation

Added in 1.1.0
fun setLayoutInformation(information: String): Unit

setUpdateFlag

Added in 1.1.0
fun setUpdateFlag(needsUpdate: MutableState<Long>): Unit