From 3b5c6c64ab5df17b2cd34ceccddea68608ff123f Mon Sep 17 00:00:00 2001 From: Adam Albanese Date: Thu, 26 Mar 2020 21:02:15 -0400 Subject: [PATCH] DatabaseManager is able to access data from Firestore cloud. Currently, it only changes a TextView based on data from Firestore in the activity main in order to test it. To test, click on a tab beside home, then click back on home, and the TextView should change. --- app/app.iml | 71 +++++++-------- app/build.gradle | 14 +-- app/src/main/AndroidManifest.xml | 6 +- .../crucentralcoast/android/MainActivity.kt | 6 ++ .../database/DatabaseManager.kt | 30 ++++++ app/src/main/res/layout/activity_main.xml | 12 ++- app/src/main/res/values/dimens.xml | 3 + app/src/main/res/values/strings.xml | 91 +++++++++++++++++++ app/src/main/res/values/styles.xml | 9 ++ 9 files changed, 192 insertions(+), 50 deletions(-) create mode 100644 app/src/main/java/crucentralcoast/database/DatabaseManager.kt diff --git a/app/app.iml b/app/app.iml index f584be2..bc30847 100644 --- a/app/app.iml +++ b/app/app.iml @@ -29,7 +29,7 @@