inject

abstract fun inject(activity: MainActivity)

A method to inject dependencies onto a specified activity.

Parameters

activity

the activity to inject dependencies onto.


abstract fun inject(fileProvider: ModelFileProvider)

A method to inject dependencies onto a specified file provider.

Parameters

fileProvider

the file provider to inject dependencies onto.


abstract fun inject(service: MainService)

A method to inject dependencies onto a specified service.

Parameters

service

the service to inject dependencies onto.


abstract fun inject(viewModel: MainViewModel)

A method to inject dependencies onto a specified view model.

Parameters

viewModel

the view model to inject dependencies onto.