Skip to content

Main Handler

Top-level mainHandler property to stop allocating multiple Handlers for main Looper.

Supported platforms: Android.

If the sentence above is not clear enough or if you need more explanations, please open an issue.

Note that mainHandler is async, which means there’s no vSync delays. If you need a sync Handler, you can simply use mainHandlerAsync, also provided in this split.

Download

implementation("com.louiscad.splitties:splitties-mainhandler:3.0.0-beta01")