From 12dbd616426e4705ef7ffc0986b781966ed62277 Mon Sep 17 00:00:00 2001 From: Yannine Alvarez Date: Mon, 18 May 2020 10:12:09 -0400 Subject: [PATCH] Insert de pedidos con room. --- app/build.gradle | 2 ++ app/src/main/AndroidManifest.xml | 1 + app/src/main/java/com/example/ayudapy/Entity.kt | 30 ++++++++++++++++++++---------- app/src/main/java/com/example/ayudapy/MapsActivity.kt | 52 ++++++++++++++++++++++++++++++++-------------------- app/src/main/java/com/example/ayudapy/PendienteLista.kt | 14 ++++++++++++++ app/src/main/res/layout/pendientes_items.xml | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ app/src/main/res/layout/pendientes_lista.xml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 249 insertions(+), 30 deletions(-) create mode 100644 app/src/main/java/com/example/ayudapy/PendienteLista.kt create mode 100644 app/src/main/res/layout/pendientes_items.xml create mode 100644 app/src/main/res/layout/pendientes_lista.xml diff --git a/app/build.gradle b/app/build.gradle index 24e3ff0..c5ee411 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,6 +77,8 @@ dependencies { implementation 'org.jetbrains.anko:anko-common:0.9' + implementation 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.1' + //implementation "android.arch.lifecycle:extensions:1.1.1" //implementation "android.arch.persistence.room:runtime:1.0.0-rc1" //kapt "android.arch.persistence.room:compiler:1.0.0-rc1" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index be98e72..b4a3407 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -35,6 +35,7 @@ android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/pendientes_lista.xml b/app/src/main/res/layout/pendientes_lista.xml new file mode 100644 index 0000000..d214c22 --- /dev/null +++ b/app/src/main/res/layout/pendientes_lista.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + -- libgit2 0.26.0