Inject Activities |

This is a companion discussion topic for the original entry at

@kevindmoore This approach doesn’t look right or professional for real applications, even small applications or even toy apps.

Why not use Koin with ViewModel module? And even using this approach why not use Lifecycle events from Jetpack Architecture instead of this ActivityLifecycleCallbacks?

This is one method of having access to the current activity. There are a lot of other ways to do this. One of the videos talks about using Koin with ViewModels and lifecycle events are useful for other areas.