Back to project page Android-CleanArchitecture.
The source code is released under:
Apache License
If you think the Android project Android-CleanArchitecture listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright (C) 2014 android10.org. All rights reserved. * @author Fernando Cejas (the android10 coder) *//*from w ww . j a v a 2 s . c o m*/ package com.fernandocejas.android10.sample.domain.executor; import com.fernandocejas.android10.sample.domain.interactor.Interactor; /** * Executor implementation can be based on different frameworks or techniques of asynchronous * execution, but every implementation will execute the {@link Interactor} out of the UI thread. * * Use this class to execute an {@link Interactor}. */ public interface ThreadExecutor { /** * Executes a {@link Runnable}. * * @param runnable The class that implements {@link Runnable} interface. */ void execute(final Runnable runnable); }