you need to keep a static singleton to access it right? otherwise you can parametrize your extension interface on the context, and that way you can instantiate it properly.
Copy code
@extension interface Bla<T> {
fun androidCtx(): Context
fun showLogin(par: T) = IO { androidCtx().startActivity(...) }
}