Sign up
Sign in
…lin standard library provides some great extension functions out of the box with this Result class. You can getOrNull() it, getOrElse {} it, you can map {} it, you can onSuccess {} and onFailure{} it, you can recover {} it: the only thing that misses, in my honest opinion, is a flatMap {} method. Let me explain it a bit …
Joost Klitsie
Mohsen Mirhoseini
Follow
--
1
Share
let's not forget `fold{}`
As an Android developer and tech enthusiast, I publish contents about Android app development. Follow me on Medium and YouTube as "Android Developer Tip".
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams