public class

UiThreadImmediateExecutorService

extends HandlerExecutorServiceImpl
java.lang.Object
   ↳ java.util.concurrent.AbstractExecutorService
     ↳ com.facebook.common.executors.HandlerExecutorServiceImpl
       ↳ com.facebook.common.executors.UiThreadImmediateExecutorService

Class Overview

An ExecutorService that is backed by the application's main looper.

If the execute is called from the thread of the application's main looper, it will be executed synchronously.

Summary

Public Methods
void execute(Runnable command)
static UiThreadImmediateExecutorService getInstance()
[Expand]
Inherited Methods
From class com.facebook.common.executors.HandlerExecutorServiceImpl
From class java.util.concurrent.AbstractExecutorService
From class java.lang.Object
From interface com.facebook.common.executors.HandlerExecutorService
From interface java.util.concurrent.Executor
From interface java.util.concurrent.ExecutorService
From interface java.util.concurrent.ScheduledExecutorService

Public Methods

public void execute (Runnable command)

public static UiThreadImmediateExecutorService getInstance ()