ExecutorCompat

Added in 1.5.0

public final class ExecutorCompat


Helper for accessing features in Executor.

Summary

Public methods

static @NonNull Executor

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

Public methods

create

Added in 1.5.0
public static @NonNull Executor create(@NonNull Handler handler)

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