In what situations would `LocalContext.current` be...
# compose
f
In what situations would
LocalContext.current
be of type
ContextWrapper
rather than
Activity
?
z
If the AbstractComposeView was created with a wrapper.
i
I believe Hilt's
AndroidEntryPoint
will cause this to happen - you should always unwrap any
ContextWrapper
if you are looking for a particular class / interface
f
ok thank you
c
...or any use of
android:theme
in the layout.