Android Looper

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

A Looper is an Android class used to run a message loop for a thread, which usually do not have one associated with them.

The most common Looper in Android is the main-loop, also commonly known as the main-thread. This instance is unique for an application and can be accessed statically with Looper.getMainLooper().

If a Looper is associated with the current thread, it can be retrieved with Looper.myLooper().



Got any Android Question?