Skip to content

Instantly share code, notes, and snippets.

View karfunkel's full-sized avatar

Alexander (Sascha) Klein karfunkel

  • Elektro Schweitzer GmbH
  • Stuttgart
View GitHub Profile
package org.aklein.android.ext;
import android.os.AsyncTask
import java.util.concurrent.TimeUnit;
/**
* An implementation of {@link android.os.AsyncTask} which makes it easy to deal with
* requests/callbacks using Groovy closures
*/
public class Fluent<Result, Progress> extends AsyncTask<Object, Progress, Result> {