View on GitHub

Cadabra

A/B testing library for Java/Kotlin/Android

cadabra-android / com.fo2rist.cadabra.android / ExperimentContext

ExperimentContext

class ExperimentContext : VariantResources

Full context of experiment state as it’s resolved for current session/user. If the experiment wasn’t started the variant is null resources resolved as is.

Constructors

<init> Full context of experiment state as it’s resolved for current session/user. If the experiment wasn’t started the variant is null resources resolved as is.ExperimentContext(variant: <ERROR CLASS>?, resources: VariantResources)

Properties

variant Active variant to be applied by the app.val variant: <ERROR CLASS>?