Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AuthInteractor(private val networkService: NetworkService) {
- fun login(userName : String, password : String, listener : (Boolean) -> Unit){
- ...
- }
- fun logout(listener : (Boolean) -> Unit){
- ...
- }
- }
Add Comment
Please, Sign In to add comment