com.stanfy.enroscar.async.OperatorBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enroscar-content Show documentation
Show all versions of enroscar-content Show documentation
Helper classes and extended abstractions for Android loaders, content resolvers, and DB access.
package com.stanfy.enroscar.async;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.LoaderManager;
/**
* This interface contains methods you can use to build an operator object.
* You should not implement this class.
*/
public interface OperatorBuilder {
OperatorBuilder operations(W operations);
OperatorBuilder loaderManager(LoaderManager loaderManager);
OperatorBuilder context(Context context);
OperatorBuilder withinActivity(FragmentActivity activity);
OperatorBuilder withinFragment(Fragment fragment);
T get();
}