Join Slack
Powered by
What is Ambient and ContextAmbient
# compose
k
Karthick
02/06/2020, 4:56 PM
What is Ambient and ContextAmbient
z
Zach Klippenstein (he/him) [MOD]
02/06/2020, 5:05 PM
Ambient is a way to implicitly pass values all the way down the compose tree, similar to SwiftUI's
Environment
or React's
Context
. ContextAmbient is an ambient that provides access to the Android context hosting the composition.
☝️ 3
171
Views
Open in Slack
Previous
Next