AleksandraLebedeva 1 سال پیش
والد
کامیت
d3789a0ce6

+ 2 - 2
app/build.gradle

@@ -29,8 +29,8 @@ android {
 }
 
 dependencies {
-    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
-    implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
+//    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
+//    implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
 
 
     implementation 'androidx.appcompat:appcompat:1.5.1'

+ 5 - 8
app/src/main/java/com/example/test/RetrofitAPI.java

@@ -1,10 +1,7 @@
 package com.example.test;
 
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.POST;
-
-public interface RetrofitAPI {
-    @POST("Users")
-    Call<DataModal> createPost(@Body DataModal dataModal);
-}
+//
+//public interface RetrofitAPI {
+//    @POST("Users")
+//    Call<DataModal> createPost(@Body DataModal dataModal);
+//}

+ 1 - 1
app/src/main/res/layout/activity_main.xml

@@ -52,7 +52,7 @@
         <ListView
             android:id="@+id/ListList"
             android:layout_width="match_parent"
-            android:layout_height="0dp"
+            android:layout_height="wrap_content"
 
             android:layout_alignParentBottom="true" />
     </LinearLayout>

+ 2 - 0
app/src/main/res/values/stylr.xml

@@ -4,5 +4,7 @@
     <style name="textstyle">
         <item name="android:textColor">@color/test</item>
         <item name="android:textSize">14dp</item>
+
     </style>
+
 </resources>