I'm not aware of a great alternative if you need multiplatform, or if you want to avoid reflection.
nschulzke
04/11/2022, 7:36 PM
If your project is small enough to not need anything complicated, you could roll your own pretty easily. Koin is in essence a nice API around a global object. If you can do without the nice API and trust your team (or are working alone), disciplined use of a global object can be a viable substitute.