There is the KoinComponent which comes to the rescue. In any class you can simply: class SampleClass : KoinComponent { val a : A? by inject() val b : B? by ...
確定! 回上一頁