Back to project page SimpleJsonAdapter.
The source code is released under:
Apache License
If you think the Android project SimpleJsonAdapter 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 2011 Google Inc. All rights reserved. /*from w ww. j a v a 2 s . co m*/ package com.android.volley.utils; import com.android.volley.ExecutorDelivery; import java.util.concurrent.Executor; /** * A ResponseDelivery for testing that immediately delivers responses * instead of posting back to the main thread. */ public class ImmediateResponseDelivery extends ExecutorDelivery { public ImmediateResponseDelivery() { super(new Executor() { @Override public void execute(Runnable command) { command.run(); } }); } }