com.coreoz.plume.dagger.DaggerServicesModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plume-services Show documentation
Show all versions of plume-services Show documentation
Common services that are often needed in projects or libraries.
package com.coreoz.plume.dagger;
import javax.inject.Singleton;
import com.coreoz.plume.services.time.SystemTimeProvider;
import com.coreoz.plume.services.time.TimeProvider;
import dagger.Module;
import dagger.Provides;
@Module
public class DaggerServicesModule {
@Provides
@Singleton
static TimeProvider provideTimeProvider(SystemTimeProvider systemTimeProvider) {
return systemTimeProvider;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy