Join Slack
Powered by
Then when you use it you can have like `val myErro...
# announcements
a
adam-mcneilly
12/02/2017, 11:11 PM
Then when you use it you can have like
val myError = if (result is T) t.error else null
or whatever your use case really is. I reccomend this for learning about Sealed Classes -
https://robots.thoughtbot.com/android-networking-view-state
3
Views
Open in Slack
Previous
Next