From 899f3a254d137598a60267780ce35cce3ec344c7 Mon Sep 17 00:00:00 2001 From: Fawkes100 Date: Sat, 18 Jan 2025 12:53:50 +0100 Subject: [PATCH] ADD: SongEditorDialog --- .idea/gradle.xml | 1 + .idea/misc.xml | 2 +- .idea/runConfigurations.xml | 17 +++ .idea/vcs.xml | 6 + .../stormtales/notevault/MainActivity.java | 4 +- .../notevault/data/MusicDatabase.java | 5 +- .../notevault/data/dao/SongDao.java | 17 +++ .../notevault/data/entities/Song.java | 9 ++ .../notevault/data/repositories/SongDao.java | 7 - .../data/repositories/SongRepository.java | 21 +++ .../notevault/data/sync/DateConverter.java | 20 +++ .../notevault/ui/home/HomeFragment.java | 57 ++++++++ .../notevault/ui/home/HomeViewModel.java | 7 + .../ui/songeditor/SongEditorDialog.java | 67 ++++++++++ .../notevault/utils/NoteSheetsUtil.java | 49 +++++++ .../notevault/utils/UriTimestamp.java | 21 +++ app/src/main/res/layout/app_bar_main.xml | 9 -- app/src/main/res/layout/fragment_home.xml | 8 ++ .../layout/fragment_song_editor_dialog.xml | 122 ++++++++++++++++++ app/src/main/res/values/colors.xml | 4 + app/src/main/res/values/strings.xml | 2 + 21 files changed, 434 insertions(+), 21 deletions(-) create mode 100644 .idea/runConfigurations.xml create mode 100644 .idea/vcs.xml create mode 100644 app/src/main/java/com/stormtales/notevault/data/dao/SongDao.java delete mode 100644 app/src/main/java/com/stormtales/notevault/data/repositories/SongDao.java create mode 100644 app/src/main/java/com/stormtales/notevault/data/repositories/SongRepository.java create mode 100644 app/src/main/java/com/stormtales/notevault/data/sync/DateConverter.java create mode 100644 app/src/main/java/com/stormtales/notevault/ui/songeditor/SongEditorDialog.java create mode 100644 app/src/main/java/com/stormtales/notevault/utils/NoteSheetsUtil.java create mode 100644 app/src/main/java/com/stormtales/notevault/utils/UriTimestamp.java create mode 100644 app/src/main/res/layout/fragment_song_editor_dialog.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 6edfe28..e76fb07 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +