ExecutorCompat

public final class ExecutorCompat
extends Object

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


Helper for accessing features in Executor.

Summary

Public methods

static Executor create(Handler handler)

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

Inherited methods

Public methods

create

public static Executor create (Handler handler)

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

Parameters
handler Handler

Returns
Executor