use of se.zinokader.spotiq.repository.PartiesRepository in project SpotiQ by ZinoKader.
the class AppModule method providePartiesRepository.
@Provides
@Singleton
PartiesRepository providePartiesRepository() {
FirebaseDatabase firebaseDatabase = FirebaseDatabase.getInstance();
DatabaseReference databaseReference = firebaseDatabase.getReference().child(FirebaseConstants.CHILD_PARTYLIST);
return new PartiesRepository(databaseReference);
}
use of se.zinokader.spotiq.repository.PartiesRepository in project SpotiQ by ZinoKader.
the class AppModule method providePartiesRepository.
@Provides
PartiesRepository providePartiesRepository() {
FirebaseDatabase firebaseDatabase = FirebaseDatabase.getInstance();
DatabaseReference databaseReference = firebaseDatabase.getReference().child(FirebaseConstants.CHILD_PARTYLIST);
return new PartiesRepository(databaseReference);
}
Aggregations