Search in sources :

Example 1 with GetRecipesFromServer

use of com.se491.chef_ly.utils.GetRecipesFromServer in project chefly_android by chef-ly.

the class ListViewFragment method onCreateLoader.

//  LoaderManager callback method
@Override
public Loader<RecipeList> onCreateLoader(int id, Bundle args) {
    Log.d(TAG + "/" + title, "Loader Created");
    RequestMethod rm = args.getParcelable("requestPackage");
    return new GetRecipesFromServer(getContext(), rm);
}
Also used : RequestMethod(com.se491.chef_ly.http.RequestMethod) GetRecipesFromServer(com.se491.chef_ly.utils.GetRecipesFromServer)

Aggregations

RequestMethod (com.se491.chef_ly.http.RequestMethod)1 GetRecipesFromServer (com.se491.chef_ly.utils.GetRecipesFromServer)1