Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.kubatatami.judonetworking.observers;
 
Created by Kuba on 17/03/14.
public class CallbackWrapper<T> extends DefaultCallback<T> {
    protected Callback<T> baseCallback;
    public CallbackWrapper(Callback<T> baseCallback) {
        this. = baseCallback;
    }
    @Override
    public void onStart(CacheInfo cacheInfoAsyncResult asyncResult) {
        .onStart(cacheInfo,asyncResult);
    }
    @Override
    public void onSuccess(T result) {
        .onSuccess(result);
    }
    @Override
    public void onError(JudoException e) {
        .onError(e);
    }
    @Override
    public void onFinish() {
        .onFinish();
    }
    @Override
    public void onProgress(int progress) {
        .onProgress(progress);
    }
New to GrepCode? Check out our FAQ X