@pakoito I followed you article :
https://www.pacoworks.com/2018/02/25/simple-dependency-injection-in-kotlin-part-1/
Even though I like reader approach much more, because then each function is independent unit, but I understand for kotlin it can be overkill, plus saves the overhead to introducer Reader to colleagues.
Took heap dump, analyzed object, and only single instantiation 🙂
thank you 🙂
Before and after :