org.solovyev.android
Class UiThreadExecutor
java.lang.Object
org.solovyev.android.UiThreadExecutor
- All Implemented Interfaces:
- Executor, org.solovyev.common.threads.DelayedExecutor
public class UiThreadExecutor
- extends Object
- implements org.solovyev.common.threads.DelayedExecutor
Implementation of DelayedExecutor for Android OS,
execution is done on the main application thread (UI thread)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UiThreadExecutor
public UiThreadExecutor()
execute
public void execute(@Nonnull
Runnable command,
long delay,
@Nonnull
TimeUnit delayUnit)
- Specified by:
execute in interface org.solovyev.common.threads.DelayedExecutor
execute
public void execute(@Nonnull
Runnable command)
- Specified by:
execute in interface Executor
Copyright © 2014 se.solovyev. All Rights Reserved.