ActivityScopedFactoryBeanHandler(foregroundActivityHolder: ForegroundActivityHolder)
ScopedFactoryBeanHandler for the ACTIVITY_SCOPE-scope.
It provides a bean-instance per android.app.Activity, always scoped to the
foreground-activity. Due to the limitation of the ViewModelProviders
this only works for subtypes of ComponentActivity such as the android.support.v7.app.AppCompatActivity.
The ActivityScopedFactoryBeanHandler supports the ActivityAware-interface.
Author
Christopher Frieler