Commit 3c7398ff authored by lumisce's avatar lumisce

Call getDishReviews

parent 8bd0b903
......@@ -37,7 +37,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</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" />
</component>
<component name="ProjectType">
......
......@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.3"
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.testapp"
minSdkVersion 15
......@@ -31,5 +31,5 @@ dependencies {
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile files('libs/picasso-2.5.2.jar')
compile 'com.android.support:support-v4:24.2.1'
compile 'com.android.support:support-v4:23.2.1'
}
......@@ -58,6 +58,7 @@ public class DishViewActivity extends AppCompatActivity {
ListView lv = (ListView) findViewById(R.id.dish_reviews);
adapter = new DishReviewAdapter(this, reviews);
lv.setAdapter(adapter);
getDishReviews(i.getIntExtra("ID", 0));
}
public void visitStall() {
......
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