Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS123-CanteeneoAndroid
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Willard Torres
CS123-CanteeneoAndroid
Commits
3c7398ff
Commit
3c7398ff
authored
Nov 24, 2016
by
lumisce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call getDishReviews
parent
8bd0b903
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
misc.xml
.idea/misc.xml
+1
-1
build.gradle
app/build.gradle
+2
-2
DishViewActivity.java
app/src/main/java/com/testapp/DishViewActivity.java
+1
-0
No files found.
.idea/misc.xml
View file @
3c7398ff
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<ConfirmationsSetting
value=
"0"
id=
"Add"
/>
<ConfirmationsSetting
value=
"0"
id=
"Add"
/>
<ConfirmationsSetting
value=
"0"
id=
"Remove"
/>
<ConfirmationsSetting
value=
"0"
id=
"Remove"
/>
</component>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
7
"
default=
"true"
assert-keyword=
"true"
jdk-15=
"true"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
8
"
default=
"true"
assert-keyword=
"true"
jdk-15=
"true"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
</component>
<component
name=
"ProjectType"
>
<component
name=
"ProjectType"
>
...
...
app/build.gradle
View file @
3c7398ff
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android
{
android
{
compileSdkVersion
23
compileSdkVersion
23
buildToolsVersion
"2
4
.0.3"
buildToolsVersion
"2
3
.0.3"
defaultConfig
{
defaultConfig
{
applicationId
"com.testapp"
applicationId
"com.testapp"
minSdkVersion
15
minSdkVersion
15
...
@@ -31,5 +31,5 @@ dependencies {
...
@@ -31,5 +31,5 @@ dependencies {
compile
'com.squareup.retrofit2:retrofit:2.1.0'
compile
'com.squareup.retrofit2:retrofit:2.1.0'
compile
'com.squareup.retrofit2:converter-gson:2.1.0'
compile
'com.squareup.retrofit2:converter-gson:2.1.0'
compile
files
(
'libs/picasso-2.5.2.jar'
)
compile
files
(
'libs/picasso-2.5.2.jar'
)
compile
'com.android.support:support-v4:2
4
.2.1'
compile
'com.android.support:support-v4:2
3
.2.1'
}
}
app/src/main/java/com/testapp/DishViewActivity.java
View file @
3c7398ff
...
@@ -58,6 +58,7 @@ public class DishViewActivity extends AppCompatActivity {
...
@@ -58,6 +58,7 @@ public class DishViewActivity extends AppCompatActivity {
ListView
lv
=
(
ListView
)
findViewById
(
R
.
id
.
dish_reviews
);
ListView
lv
=
(
ListView
)
findViewById
(
R
.
id
.
dish_reviews
);
adapter
=
new
DishReviewAdapter
(
this
,
reviews
);
adapter
=
new
DishReviewAdapter
(
this
,
reviews
);
lv
.
setAdapter
(
adapter
);
lv
.
setAdapter
(
adapter
);
getDishReviews
(
i
.
getIntExtra
(
"ID"
,
0
));
}
}
public
void
visitStall
()
{
public
void
visitStall
()
{
...
...
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