Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
A short post on crash that'll happen if we invoke startForegroundService and then it'll take us too long to invoke startForeground. This guy's solution is to wait for the main thread first and only then to launch the service.

#service #thread #crash