Commit dfa21953 authored by jake.ejraee's avatar jake.ejraee

Delete EnergeticAsyncTask.java

parent b797ef29
package com.example.soulfood_assignment2;
import android.os.AsyncTask;
import android.util.Log;
import java.util.ArrayList;
public class EnergeticAsyncTask extends AsyncTask<Void, Void, ArrayList<String>> {
public ArrayList<String> energeticResults;
@Override
protected ArrayList<String> doInBackground(Void... params) {
databaseInterface dbi = new databaseInterface();
energeticResults = dbi.getPlaylistByAttributes(databaseInterface.Cuisine.any, databaseInterface.Vibe.energetic, databaseInterface.Time.any);
for(int i = 0; i < energeticResults.size(); i++) {
Log.d("EnergeticResults!!", energeticResults.get(i));
}
return energeticResults;
}
}
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