Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.kubatatami.judonetworking.observers;
 
 
 public class ObservableWrapperCallback<T> extends DefaultCallback<T> {
 
     protected final ObservableWrapper<T> wrapper;
     protected ObservableTransaction transaction=null;
 
    public ObservableWrapperCallback(ObservableWrapper<T> wrapper) {
        this. = wrapper;
    }
    public ObservableWrapperCallback(ObservableWrapper<T> wrapperObservableTransaction transaction) {
        this. = wrapper;
        this. = transaction;
    }
    @Override
    public void onSuccess(T result) {
        if(!=null){
            .set(result,);
        }else {
            .set(result);
        }
    }
New to GrepCode? Check out our FAQ X