Back to project page droidcon.
The source code is released under:
Apache License
If you think the Android project droidcon listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.timehop.droidcon2014retrofitsample.data; /*from w w w . jav a 2s . com*/ import android.util.Log; import java.util.concurrent.Executor; public class SynchronousExecutor implements Executor { @Override public void execute(Runnable runnable) { try { runnable.run(); } catch (Exception e){ Log.e("Fail", "fail", e); } } }