http request call done

This commit is contained in:
OnlyPapy98
2025-11-12 16:52:48 +01:00
parent 159837bd6f
commit b1ce91ef20
53 changed files with 1109 additions and 1045 deletions

View File

@@ -1,27 +0,0 @@
package com.example.quiz;
import com.example.quiz.data.BetsBank;
import com.example.quiz.data.repository.BetRepository;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
@Module
@InstallIn(SingletonComponent.class)
public class AppModule {
@Provides
@Singleton
public BetsBank provideApiService(){
return BetsBank.getInstance();
}
@Provides
@Singleton
public BetRepository provideBetRepository() {
return new BetRepository();
}
}