Commit 188ede9b authored by jake.ejraee's avatar jake.ejraee

I feel like I'm going to be tired tomorrow

parent 48b00097
......@@ -13,15 +13,7 @@ import java.util.Arrays;
public class ThaiAsyncTask extends AsyncTask<Void, Void, ArrayAdapter<String>> {
public ArrayList<String> thaiResults = new ArrayList<>();
public ArrayList<String> attributesSong1 = new ArrayList<>();
public ArrayList<String> attributesSong2 = new ArrayList<>();
public ArrayList<String> attributesSong3 = new ArrayList<>();
public ArrayList<String> attributesSong4 = new ArrayList<>();
public ArrayList<String> attributesSong5 = new ArrayList<>();
public ArrayList<String> attributesSong6 = new ArrayList<>();
public ArrayList<String> attributesSong7 = new ArrayList<>();
public ArrayList<String> songNamesList = new ArrayList<>();
public String[] songNames = new String[8];
public ListView listView;
public Context context;
public databaseInterface.Cuisine cuisine;
......@@ -48,13 +40,6 @@ public class ThaiAsyncTask extends AsyncTask<Void, Void, ArrayAdapter<String>>
for(int i = 0; i < thaiResults.size(); i++) {
songNamesList.add(dbi.getSongTitle(thaiResults.get(i)));
}
/*attributesSong1 = dbi.getAttributesBySongID(thaiResults.get(0));
attributesSong2 = dbi.getAttributesBySongID(thaiResults.get(1));
attributesSong3 = dbi.getAttributesBySongID(thaiResults.get(2));
attributesSong4 = dbi.getAttributesBySongID(thaiResults.get(3));
attributesSong5 = dbi.getAttributesBySongID(thaiResults.get(4));
attributesSong6 = dbi.getAttributesBySongID(thaiResults.get(5));
attributesSong7 = dbi.getAttributesBySongID(thaiResults.get(6));*/
ArrayAdapter thaiAdapter = new ArrayAdapter<String>(
......
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