From 278388d97059804aa142856d5f8b91cfa1937c94 Mon Sep 17 00:00:00 2001 From: sungguh Date: Thu, 11 Mar 2021 11:14:25 +0700 Subject: [PATCH] up --- .../Android/src/main/AndroidManifest.xml | 4 +- app/app.js | 13 ++ app/informasi/informasi-page.xml | 3 + app/localdb_helper.js | 23 +- app/pengecekan/pengecekan-page.js | 219 +++++++++++++----- app/pengecekan/pengecekan-page.xml | 84 ++++--- app/riwayat/riwayat-detail-page.js | 37 ++- app/riwayat/riwayat-detail-page.xml | 79 ++++--- app/riwayat/riwayat-page.js | 31 ++- app/riwayat/riwayat-page.xml | 10 +- 10 files changed, 374 insertions(+), 129 deletions(-) diff --git a/app/App_Resources/Android/src/main/AndroidManifest.xml b/app/App_Resources/Android/src/main/AndroidManifest.xml index 898b2b7..3e19fb6 100644 --- a/app/App_Resources/Android/src/main/AndroidManifest.xml +++ b/app/App_Resources/Android/src/main/AndroidManifest.xml @@ -1,7 +1,9 @@ + xmlns:android="http://schemas.android.com/apk/res/android" package="__PACKAGE__" android:versionCode="6" android:versionName="1.3"> + + diff --git a/app/app.js b/app/app.js index aec02e9..87cf6c7 100644 --- a/app/app.js +++ b/app/app.js @@ -3,6 +3,19 @@ const ModeLoadingIndicator = require('@nstudio/nativescript-loading-indicator'). global.gLocalstorage = []; global.gConfig = { + "connectionOption": { + message: 'Sedang mengecek jaringan internet...', + margin: 10, + dimBackground: true, + color: '#FFFFFF', + backgroundColor: '#FFFFFF', + userInteractionEnabled: true, + hideBezel: true, + mode: ModeLoadingIndicator.Indeterminate, + android: { + cancelable: false, + } + }, "searchOption": { message: 'Sedang mengecek data...', margin: 10, diff --git a/app/informasi/informasi-page.xml b/app/informasi/informasi-page.xml index 998cb96..10e4b45 100644 --- a/app/informasi/informasi-page.xml +++ b/app/informasi/informasi-page.xml @@ -25,6 +25,9 @@