“Sealed classes are used for representing restricted class hierarchies…”
As such, Sealed Classes are useful when modeling states within various app workflows. These could represent network operations, available features, UI representations, etc. We’ve leveraged this to simplify a few different use cases in our app. We’ve shared one such usage already, and want to share another.
Uploading files to a server, in background, independent of the application state and showing the upload state as a notification (progress, success or error). Also the ability to handle multiple uploads simultaneously.
I am not gonna explain or detail about RxAndroid since there are tons of tutorials and posts about it. I will write on how to use it in our regular day-to-day tasks and how to implement it in our projects or wherever you need it.And you should use because It makes developer lives more easy and most importantly Reactive.
Today we are releasing Kotlin 1.3 together with a set of accompanying libraries, build tools, and learning materials!