Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
soulfood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
charley.punshon
soulfood
Commits
188ede9b
Commit
188ede9b
authored
May 20, 2019
by
jake.ejraee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I feel like I'm going to be tired tomorrow
parent
48b00097
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
ThaiAsyncTask.java
.../java/com/example/soulfood_assignment2/ThaiAsyncTask.java
+0
-15
No files found.
app/src/main/java/com/example/soulfood_assignment2/ThaiAsyncTask.java
View file @
188ede9b
...
@@ -13,15 +13,7 @@ import java.util.Arrays;
...
@@ -13,15 +13,7 @@ import java.util.Arrays;
public
class
ThaiAsyncTask
extends
AsyncTask
<
Void
,
Void
,
ArrayAdapter
<
String
>>
{
public
class
ThaiAsyncTask
extends
AsyncTask
<
Void
,
Void
,
ArrayAdapter
<
String
>>
{
public
ArrayList
<
String
>
thaiResults
=
new
ArrayList
<>();
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
ArrayList
<
String
>
songNamesList
=
new
ArrayList
<>();
public
String
[]
songNames
=
new
String
[
8
];
public
ListView
listView
;
public
ListView
listView
;
public
Context
context
;
public
Context
context
;
public
databaseInterface
.
Cuisine
cuisine
;
public
databaseInterface
.
Cuisine
cuisine
;
...
@@ -48,13 +40,6 @@ public class ThaiAsyncTask extends AsyncTask<Void, Void, ArrayAdapter<String>>
...
@@ -48,13 +40,6 @@ public class ThaiAsyncTask extends AsyncTask<Void, Void, ArrayAdapter<String>>
for
(
int
i
=
0
;
i
<
thaiResults
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
thaiResults
.
size
();
i
++)
{
songNamesList
.
add
(
dbi
.
getSongTitle
(
thaiResults
.
get
(
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
>(
ArrayAdapter
thaiAdapter
=
new
ArrayAdapter
<
String
>(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment