Back to project page loopback-sdk-android.
The source code is released under:
MIT License
If you think the Android project loopback-sdk-android 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.strongloop.android.loopback.callbacks; /*www . j av a 2 s . c o m*/ import com.strongloop.android.remoting.adapters.Adapter; public class EmptyResponseParser implements Adapter.Callback { private final VoidCallback callback; public EmptyResponseParser(VoidCallback callback) { this.callback = callback; } @Override public void onSuccess(String response) { callback.onSuccess(); } @Override public void onError(Throwable t) { callback.onError(t); } }