This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company; | |
import retrofit.RestAdapter; | |
import retrofit.http.GET; | |
import retrofit.http.Path; | |
import rx.Observable; | |
import rx.Subscriber; | |
import rx.functions.Action1; | |
import rx.functions.Func1; | |
import rx.functions.Func2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.foo.bar; | |
import android.os.AsyncTask; | |
public class LoadDrawingContentTask extends SimpleTask { | |
private final Location location; | |
public LoadDrawingContentTask(Location myLocation) { | |
this.location = myLocation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.foo.bar; | |
import android.os.AsyncTask; | |
import android.util.Log; | |
public abstract class SimpleTask extends AsyncTask<Void, Void, Boolean> { | |
private final AsyncTask waitTask; | |
public SimpleTask(AsyncTask waitTask) { |