Created
November 15, 2019 17:45
-
-
Save gastsail/c9854b4ec4b7b2a84220372584a66db5 to your computer and use it in GitHub Desktop.
UserUseCase
This file contains 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 UserUseCase { | |
private val userDao = UserDao() | |
fun retrieveUserData(userId:String): LiveData<Resource<String>> { | |
return userDao.getUserName(userId) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment