Something went wrong. Try again.
A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
Something went wrong. Try again.
123456789101112131415161718192021package com.example.util.simpletimetracker.di
import android.content.ContentResolverimport android.content.Contextimport dagger.Moduleimport dagger.Providesimport dagger.hilt.InstallInimport dagger.hilt.android.qualifiers.ApplicationContextimport dagger.hilt.components.SingletonComponentimport javax.inject.Singleton
@Module@InstallIn(SingletonComponent::class)class AppModule {
@Provides @Singleton fun getContentResolver(@ApplicationContext context: Context): ContentResolver { return context.contentResolver }}