Checking whether the current thread is the UI/Main thread or some other background thread is very easy. Here’s the code for it:
Continue reading “How to Check/Detect Whether Current Thread is UI/Main Thread or Not in Android”
Web and Mobile Development articles
Checking whether the current thread is the UI/Main thread or some other background thread is very easy. Here’s the code for it:
Continue reading “How to Check/Detect Whether Current Thread is UI/Main Thread or Not in Android”