Hi!! great article. I was searching more about it and found this article with an example: https://blog.nikitaog.me/2014/10/11/android-looper-handler-handlerthread-i/
At the end the author explains why this may not be the best approach and I quote: “Sometimes it will work fine, but sometimes you’ll get
NPE at the
postTask call stating, that
null. You can be a victim of race conditions between two threads (main and background)”. What do you think?