Skip to content

Code Theory

Web and Mobile Development articles

  • Home
  • About
  • Contact

Tag: snippets

How to Check/Detect Whether Current Thread is UI/Main Thread or Not in Android

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”

Author RishabhPosted on May 31, 2024May 31, 2024Categories Mobile Development, Tools & TipsTags android, mobile, snippetsLeave a comment on How to Check/Detect Whether Current Thread is UI/Main Thread or Not in Android

Recent Posts

  • Fixing Laravel Basic Auth Failure
  • Mac OS X Setting Up Initial Tools for a Web Developer
  • Why clearRect Might Not be Clearing the Canvas Pixels

Subscribe

  • Follow on Twitter
  • RSS Feeds
  • Subscribe by Email
  • Home
  • About
  • Contact
Code Theory Proudly powered by WordPress