Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Abstract BaseActivity 中创建 Abstract BaseActivity 和 Abstract BaseActivity 实现接口 Navigator 和 Navigator 所有方法覆盖。
所以我的问题是如何在另一个活动中注入 Navigator 类?
像这样 : val navigator by inject<Navigator>()
val navigator by inject<Navigator>()