Google is committed to advancing racial equity for Black communities. See how.

HandlerExecutor

public class HandlerExecutor
extends Object implements Executor

java.lang.Object
   ↳ androidx.core.os.HandlerExecutor


An adapter Executor that posts all executed tasks onto the given Handler.

Summary

Public constructors

HandlerExecutor(Handler handler)

Public methods

void execute(Runnable command)

Inherited methods

Public constructors

HandlerExecutor

public HandlerExecutor (Handler handler)

Parameters
handler Handler

Public methods

execute

public void execute (Runnable command)

Parameters
command Runnable