Commit 5596f174 authored by jake.ejraee's avatar jake.ejraee

Delete MexicanAsyncTask.java

parent 03449409
package com.example.soulfood_assignment2;
import android.os.AsyncTask;
import android.util.Log;
import java.util.ArrayList;
public class MexicanAsyncTask extends AsyncTask<Void, Void, ArrayList<String>> {
public ArrayList<String> mexicanResults;
@Override
protected ArrayList<String> doInBackground(Void... params) {
databaseInterface dbi = new databaseInterface();
mexicanResults = dbi.getPlaylistByAttributes(databaseInterface.Cuisine.mexican, databaseInterface.Vibe.any, databaseInterface.Time.any);
for(int i = 0; i < mexicanResults.size(); i++) {
Log.d("MexicanResults!!", mexicanResults.get(i));
}
return mexicanResults;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment