Created
September 3, 2019 23:29
-
-
Save mitchtabian/d8ca5047a985d52093b4b26a96d35264 to your computer and use it in GitHub Desktop.
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
return object: LiveData<MainViewState>(){ | |
override fun onActive() { | |
super.onActive() | |
val user = User( | |
email = "mitch@tabian.ca", | |
username = "mitch", | |
image = "https://cdn.open-api.xyz/open-api-static/static-random-images/logo_1080_1080.png" | |
) | |
value = MainViewState( | |
user = user | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment