Search in sources :

Example 1 with ContactServiceImpl

use of cx.ring.services.ContactServiceImpl in project ring-client-android by savoirfairelinux.

the class ServiceInjectionModule method provideContactService.

@Provides
@Singleton
ContactService provideContactService(PreferencesService sharedPreferencesService) {
    ContactServiceImpl contactService = new ContactServiceImpl();
    mRingApplication.getRingInjectionComponent().inject(contactService);
    return contactService;
}
Also used : ContactServiceImpl(cx.ring.services.ContactServiceImpl) Singleton(javax.inject.Singleton) Provides(dagger.Provides)

Aggregations

ContactServiceImpl (cx.ring.services.ContactServiceImpl)1 Provides (dagger.Provides)1 Singleton (javax.inject.Singleton)1