retrofit.android
Class MainThreadExecutor

java.lang.Object
  extended by retrofit.android.MainThreadExecutor
All Implemented Interfaces:
Executor

public final class MainThreadExecutor
extends Object
implements Executor

Executor that runs tasks on Android's main thread.


Constructor Summary
MainThreadExecutor()
           
 
Method Summary
 void execute(Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainThreadExecutor

public MainThreadExecutor()
Method Detail

execute

public void execute(Runnable r)
Specified by:
execute in interface Executor


Copyright © 2013 Square, Inc.. All Rights Reserved.