New version of Threading with Handler thread now that Handler is depricated

Im a newby at learning Kotlin and Android programming.

I found the tutorial titled “Threading With HandlerThread in Android” useful in understanding how to have threads communicate (particularly with UI thread).

However if I use the latest tools I find Handler class deprecated. Is there an updated version of the tutorial available? (I’m not interested in co-routines yet as I want to still support Android API 19 - I understand I need minSDK 21 for co-routine support.


This topic was automatically closed after 166 days. New replies are no longer allowed.