Created
July 25, 2020 12:55
-
-
Save vikasmain/f5f9b6e57e83a4a0967d480f779d8d1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class PlayersUseCase @Inject constructor(private val loginRepository : LoginRepository, | |
| private val playersRepository : PlayersRepository) { | |
| fun getPlayersData() : PlayersData? { | |
| if(loginRepository.isUserLoggedIn() { | |
| return playersRepository.getPlayersData() | |
| } | |
| return null | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment