Package androidx.compose.runtime.internal

Types

ComposableLambda
Link copied to clipboard
common
class ComposableLambda<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, R>(key: Int, tracked: Boolean, sourceInformation: String?) : Function2<Composer<*>, Int, R> , Function3<P1, Composer<*>, Int, R> , Function4<P1, P2, Composer<*>, Int, R> , Function5<P1, P2, P3, Composer<*>, Int, R> , Function6<P1, P2, P3, P4, Composer<*>, Int, R> , Function7<P1, P2, P3, P4, P5, Composer<*>, Int, R> , Function8<P1, P2, P3, P4, P5, P6, Composer<*>, Int, R> , Function9<P1, P2, P3, P4, P5, P6, P7, Composer<*>, Int, R> , Function10<P1, P2, P3, P4, P5, P6, P7, P8, Composer<*>, Int, R> , Function11<P1, P2, P3, P4, P5, P6, P7, P8, P9, Composer<*>, Int, R> , Function13<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, Composer<*>, Int, Int, R> , Function14<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, Composer<*>, Int, Int, R> , Function15<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, Composer<*>, Int, Int, R> , Function16<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, Composer<*>, Int, Int, R> , Function17<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, Composer<*>, Int, Int, R> , Function18<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, Composer<*>, Int, Int, R> , Function19<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, Composer<*>, Int, Int, R> , Function20<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, Composer<*>, Int, Int, R> , Function21<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, Composer<*>, Int, Int, R>
A Restart is created to hold composable lambdas to track when they are invoked allowing the invocations to be invalidated when a new composable lambda is created during composition.
ComposableLambdaN
Link copied to clipboard
class ComposableLambdaN<R>(key: Int, tracked: Boolean, sourceInformation: String?, arity: Int) : FunctionN<R>
class ComposableLambdaN<R>(key: Int, tracked: Boolean, sourceInformation: String?, arity: Int) : FunctionN<R>
LiveLiteralFileInfo
Link copied to clipboard
common
annotation class LiveLiteralFileInfo(file: String)
This annotation is applied to LiveLiteral classes by the Compose Compiler.
LiveLiteralInfo
Link copied to clipboard
common
annotation class LiveLiteralInfo(key: String, offset: Int)
This annotation is applied to functions on the LiveLiteral classes created by the Compose Compiler.
StabilityInferred
Link copied to clipboard
common
annotation class StabilityInferred(parameters: Int)
This annotation is added on classes by the compiler when their stability is inferred.

Functions

composableLambda
Link copied to clipboard
common
fun composableLambda(composer: Composer<*>, key: Int, tracked: Boolean, sourceInformation: String?, block: Any): CLambda
composableLambdaInstance
Link copied to clipboard
common
fun composableLambdaInstance(key: Int, tracked: Boolean, block: Any): ComposableLambda<Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any>
composableLambdaN
Link copied to clipboard
fun composableLambdaN(composer: <ERROR CLASS><out <ERROR CLASS>>, key: Int, tracked: Boolean, sourceInformation: String?, arity: Int, block: Any): ComposableLambdaN<*>
fun composableLambdaN(composer: Composer<*>, key: Int, tracked: Boolean, sourceInformation: String?, arity: Int, block: Any): ComposableLambdaN<*>
composableLambdaNInstance
Link copied to clipboard
fun composableLambdaNInstance(key: Int, tracked: Boolean, arity: Int, block: Any): ComposableLambdaN<*>
fun composableLambdaNInstance(key: Int, tracked: Boolean, arity: Int, block: Any): ComposableLambdaN<*>
enableLiveLiterals
Link copied to clipboard
common
fun enableLiveLiterals()
liveLiteral
Link copied to clipboard
common
fun <T> liveLiteral(key: String, value: T): State<T>
updateLiveLiteralValue
Link copied to clipboard
common
fun updateLiveLiteralValue(key: String, value: Any?)

Properties

isLiveLiteralsEnabled
Link copied to clipboard
common
var isLiveLiteralsEnabled: Boolean = false