retrofit.android
Class MainThreadExecutor
java.lang.Object
retrofit.android.MainThreadExecutor
- All Implemented Interfaces:
- Executor
public final class MainThreadExecutor
- extends Object
- implements Executor
Executor that runs tasks on Android's main thread.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainThreadExecutor
public MainThreadExecutor()
execute
public void execute(Runnable r)
- Specified by:
execute
in interface Executor
Copyright © 2013 Square, Inc.. All Rights Reserved.