CausalFeatureView
//causallabs-android-compose/io.causallabs.android.compose/CausalFeatureView
CausalFeatureView
[io.causallabs.android.compose]\
fun <OutputsT : FeatureOutputs> CausalFeatureView(viewModel: CausalFeatureViewModel<, OutputsT, >, content: @Composable(FeatureResponse<OutputsT>) -> Unit)
Causal Feature View Wrapper. This wrapper ensures that the CausalFeatureViewModel is wired up correctly allowing for feature impressions and signals to be sent accurately.
Parameters
io.causallabs.android.compose
viewModel | the feature view model |
content | the composable UI builder which will render the feature. |