INNER CODE UNIT · Kotlin

WeatherMasterApplication

PranshulGG/WeatherMaster · app/src/main/java/com/pranshulgg/weather_master_app/WeatherMasterApplication.kt:16

class WeatherMasterApplication : Application(), Configuration.Provider {

    @Inject
    lateinit var workerFactory: HiltWorkerFactory

    @Inject
    lateinit var visibilityTracker: AppVisibility

    override val workManagerConfiguration: Configuration
        get() = Configuration.Builder()
            .setWorkerFactory(workerFactory)
            .build()


    override fun onCreate() {
        super.onCreate()

        ProcessLifecycleOwner

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…