From 92c76b21eaf4079c776d71640ebd4ce78a339753 Mon Sep 17 00:00:00 2001 From: Arif Nurkhayan <202310715128@mhs.ubharajaya.ac.id> Date: Sun, 28 Dec 2025 20:22:07 +0700 Subject: [PATCH] 28-12-25 --- .idea/.gitignore | 3 - .idea/.name | 1 + .idea/deploymentTargetSelector.xml | 4 +- .idea/deviceManager.xml | 13 + .idea/kotlinc.xml | 6 - .idea/misc.xml | 1 + .idea/vcs.xml | 6 + .kotlin/errors/errors-1761919802970.log | 4 - app/build.gradle.kts | 17 +- app/src/main/AndroidManifest.xml | 23 +- .../com/example/weatherdemo/data/Message.kt | 9 + .../data/repository/WeatherRepository.kt | 2 +- .../example/weatherdemo/ui/ChatActivity.kt | 84 +++++ .../example/weatherdemo/ui/LoginActivity.kt | 39 +++ .../example/weatherdemo/ui/MainActivity.kt | 92 ++--- .../weatherdemo/ui/adapter/ChatAdapter.kt | 91 +++++ .../weatherdemo/utils/FirebaseUtils.kt | 50 +++ app/src/main/res/chat_icon.png | Bin 0 -> 33803 bytes .../res/drawable/ic_launcher_background.xml | 236 ++++--------- .../main/res/drawable/welcome_background.xml | 6 + app/src/main/res/layout/activity_chat.xml | 53 +++ app/src/main/res/layout/activity_login.xml | 28 ++ app/src/main/res/layout/activity_main.xml | 327 +++++++++--------- .../res/mipmap-anydpi-v26/ic_launcher.xml | 5 +- .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 +- app/src/main/res/mipmap-hdpi/ic_launcher.webp | Bin 1404 -> 2252 bytes .../mipmap-hdpi/ic_launcher_foreground.webp | Bin 0 -> 2742 bytes .../res/mipmap-hdpi/ic_launcher_round.webp | Bin 2898 -> 3286 bytes app/src/main/res/mipmap-mdpi/ic_launcher.webp | Bin 982 -> 2106 bytes .../mipmap-mdpi/ic_launcher_foreground.webp | Bin 0 -> 1712 bytes .../res/mipmap-mdpi/ic_launcher_round.webp | Bin 1772 -> 2392 bytes .../main/res/mipmap-xhdpi/ic_launcher.webp | Bin 1900 -> 3102 bytes .../mipmap-xhdpi/ic_launcher_foreground.webp | Bin 0 -> 3834 bytes .../res/mipmap-xhdpi/ic_launcher_round.webp | Bin 3918 -> 4698 bytes .../main/res/mipmap-xxhdpi/ic_launcher.webp | Bin 2884 -> 4464 bytes .../mipmap-xxhdpi/ic_launcher_foreground.webp | Bin 0 -> 6292 bytes .../res/mipmap-xxhdpi/ic_launcher_round.webp | Bin 5914 -> 7264 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.webp | Bin 3844 -> 6000 bytes .../ic_launcher_foreground.webp | Bin 0 -> 9052 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin 7778 -> 9964 bytes app/src/main/res/values/colors.xml | 33 +- build.gradle.kts | 17 +- 42 files changed, 749 insertions(+), 406 deletions(-) delete mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/deviceManager.xml delete mode 100644 .idea/kotlinc.xml create mode 100644 .idea/vcs.xml delete mode 100644 .kotlin/errors/errors-1761919802970.log create mode 100644 app/src/main/java/com/example/weatherdemo/data/Message.kt create mode 100644 app/src/main/java/com/example/weatherdemo/ui/ChatActivity.kt create mode 100644 app/src/main/java/com/example/weatherdemo/ui/LoginActivity.kt create mode 100644 app/src/main/java/com/example/weatherdemo/ui/adapter/ChatAdapter.kt create mode 100644 app/src/main/java/com/example/weatherdemo/utils/FirebaseUtils.kt create mode 100644 app/src/main/res/chat_icon.png create mode 100644 app/src/main/res/drawable/welcome_background.xml create mode 100644 app/src/main/res/layout/activity_chat.xml create mode 100644 app/src/main/res/layout/activity_login.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..60d999e --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +WeatherDemo \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index e78ff38..79ccf61 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@