How the main thread keeps on running unlike other threads which terminates after executing their task.?
Asked
Active
Viewed 60 times
5
-
Android's main thread is an event loop. – Dave Jul 22 '17 at 07:04
-
@Dave Can you please explain more in detail – Himeshgiri gosvami Jul 22 '17 at 07:06
-
2it has `android.os.Looper` associated with it – pskink Jul 22 '17 at 07:11
-
@pslink thanks, can you please shore some link elaborating this? It would be very helpful? – S.D Jul 23 '17 at 18:02
-
sure: [Understanding Android Core: Looper, Handler, and HandlerThread](https://blog.mindorks.com/android-core-looper-handler-and-handlerthread-bd54d69fe91a) – pskink Jul 24 '17 at 04:19