https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
u

ursus

12/16/2018, 9:49 PM
Is starting a "empty" foreground service as a sideffect of observable a good idea? Example: upload a file to server, You could have a UploadManager on which you directly call upload(), and then it has uploadStateObservable() which emits Started, Success, Error event. Its a upload so you dont want to get killed, therefore foreground service is needed