How to inject Context to top level functions

后端 未结 0 1144
逝去的感伤
逝去的感伤 2020-12-02 11:46

I have util functions as top-level functions and some of them need Context. These functions are used in viewmodels.

Currently I have a reference for Context in custom

相关标签:
回答
  • 消灭零回复
提交回复
热议问题