From 02604def33de8571571c33ae43e4490c247e27ce Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Fri, 3 Mar 2023 10:31:56 +0100 Subject: [PATCH] Version 23.4Beta refs #4679 --- .idea/misc.xml | 2 +- .idea/workspace.xml | 83 +++++--- app/src/main/AndroidManifest.xml | 3 +- .../java/es/verdnatura/di/viewModelModule.kt | 4 +- .../es/verdnatura/domain/SilexCallback.kt | 2 +- .../es/verdnatura/domain/VerdnaturaService.kt | 30 ++- .../presentation/base/BaseFragment.kt | 1 + .../view/feature/delivery/InfoFragment.kt | 65 ------ .../view/feature/delivery/InfoViewModel.kt | 44 ---- .../delivery/adapters/ExpeditionLogAdapter.kt | 41 ++++ .../delivery/fragments/InfoFragment.kt | 57 ++++++ .../fragments/LogExpeditionFragment.kt | 191 ++++++++++++++++++ .../feature/delivery/model/InfoCompany.kt | 35 +++- .../delivery/viewmodels/DeliveryViewModel.kt | 146 +++++++++++++ .../feature/main/activity/MainActivity.kt | 133 +++++++++--- .../pasillero/fragment/PasilleroViewModel.kt | 2 +- app/src/main/res/drawable/camion.png | Bin 0 -> 6527 bytes app/src/main/res/drawable/camion_descarga.png | Bin 0 -> 5014 bytes .../main/res/drawable/ic_delivery_truck.xml | 16 ++ .../fragment_expedition_log_delivery.xml | 181 +++++++++++++++++ ...nt_info.xml => fragment_info_delivery.xml} | 167 +++++++++++---- .../res/layout/item_expeditionlog_row.xml | 64 ++++++ app/src/main/res/layout/toolbar_fragment.xml | 1 - app/src/main/res/values-es/strings.xml | 5 +- app/src/main/res/values/strings.xml | 3 + 25 files changed, 1061 insertions(+), 215 deletions(-) delete mode 100644 app/src/main/java/es/verdnatura/presentation/view/feature/delivery/InfoFragment.kt delete mode 100644 app/src/main/java/es/verdnatura/presentation/view/feature/delivery/InfoViewModel.kt create mode 100644 app/src/main/java/es/verdnatura/presentation/view/feature/delivery/adapters/ExpeditionLogAdapter.kt create mode 100644 app/src/main/java/es/verdnatura/presentation/view/feature/delivery/fragments/InfoFragment.kt create mode 100644 app/src/main/java/es/verdnatura/presentation/view/feature/delivery/fragments/LogExpeditionFragment.kt create mode 100644 app/src/main/java/es/verdnatura/presentation/view/feature/delivery/viewmodels/DeliveryViewModel.kt create mode 100644 app/src/main/res/drawable/camion.png create mode 100644 app/src/main/res/drawable/camion_descarga.png create mode 100644 app/src/main/res/drawable/ic_delivery_truck.xml create mode 100644 app/src/main/res/layout/fragment_expedition_log_delivery.xml rename app/src/main/res/layout/{fragment_info.xml => fragment_info_delivery.xml} (53%) create mode 100644 app/src/main/res/layout/item_expeditionlog_row.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 63d3027a..97b3f254 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -276,7 +276,7 @@ - + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6d9ceddb..9157c1f8 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -83,12 +83,28 @@ - + + + + + + + + + - - + + + + + + + - + + + + @@ -187,7 +203,7 @@ - { - "keyToString": { - "ApkExportedModule": "Gestor_Almacén.app", - "ExportApk.ApkPathForGestor_Almacén.app": "C:\\Users\\sergiodt\\AndroidStudioProjects\\vn-warehouseManager\\app", - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "RunOnceActivity.cidr.known.project.marker": "true", - "cidr.known.project.marker": "true", - "com.google.services.firebase.aqiPopupShown": "true", - "last_opened_file_path": "C:/Users/sergiodt/AndroidStudioProjects/vn-warehouseManager/app/src/main/res/layout", - "project.structure.last.edited": "Modules", - "project.structure.proportion": "0.17", - "project.structure.side.proportion": "0.2", - "run.code.analysis.last.selected.profile": "pProject Default", - "settings.editor.selected.configurable": "reference.settingsdialog.project.gradle" + +}]]> + - @@ -276,18 +294,18 @@ + + + + - - - - + - @@ -881,6 +899,11 @@ 123