@Beta public final class ContextAccessor extends ThreadLocal<Context>
Modifier and Type | Field and Description |
---|---|
static ContextAccessor |
INSTANCE |
Constructor and Description |
---|
ContextAccessor() |
Modifier and Type | Method and Description |
---|---|
static Context |
current() |
protected Context |
initialValue() |
get, remove, set, withInitial
public static final ContextAccessor INSTANCE
protected Context initialValue()
initialValue
in class ThreadLocal<Context>
public static Context current()