Commit Graph

181 Commits

Author SHA1 Message Date
d567844ecf Adds missed change tracking to EditMonsterViewModel. 2021-05-30 00:11:14 -07:00
eb3223bab9 Adds Edit Speed screen to the monster editor. 2021-05-30 00:10:44 -07:00
6cb2c05238 Adds Edit Armor screen to edit a monster's armor stats. 2021-05-29 19:46:28 -07:00
12ceacacaa Adds hit dice and has custom HP toggle to the edit basic info screen. 2021-05-27 21:44:17 -07:00
c30a9c72c1 Adds confirmation when going up from the edit monster screen to save, cancel, or discard changes. 2021-05-27 19:16:05 -07:00
637a2a57d2 Adds setTitle helper method to MCFragment. 2021-05-27 19:15:23 -07:00
45924f5cb7 Adds edit basic info screen with most string fields.
Cleans up fonts/margins on edit screens.
Makes the EditMonsterViewModel shared between edit monster fragments.
2021-05-27 13:22:57 -07:00
31309313f7 Adds TextChangedListener helper class to make working with text inputs less verbose. 2021-05-27 04:17:22 -07:00
759a846e47 Makes EditMonsterFragment load the monster based with the id passed in and show it's name in the title. 2021-05-27 03:24:33 -07:00
498f5be31c Fixes passing the monster id when navigating to the edit monster screen. 2021-05-27 03:23:23 -07:00
a49780a998 Extracts library strings to resources. 2021-05-27 03:22:23 -07:00
0343c0c91e Changes to code format settings. 2021-05-27 03:18:36 -07:00
8256c38489 Adds helper method to MCFragment to get the AppCompatActivity for the fragment. 2021-05-27 03:18:17 -07:00
b65720be03 Adds edit monster view holder and placeholder for basic info tap handler. 2021-05-27 02:28:29 -07:00
68ab2b6373 Adds top level items to the edit monster view. 2021-05-27 02:17:00 -07:00
73c81f8956 Replaces EditMonsterFragment with a basic ConstraintLayout. 2021-05-27 01:15:46 -07:00
dc4f24538c Adds shared preferences flipper plugin. 2021-05-27 01:04:28 -07:00
b249cb8cdc Migrates from jcenter to maven central because of the jcenter shutdown. 2021-05-27 00:28:36 -07:00
c2772c773b Upgrades Android Gradle Plugin to 4.2.1 and Gradle to 6.7.1 2021-05-24 02:59:24 -07:00
75b77ce791 Adds Edit Monster placeholder fragment. 2021-05-24 02:48:00 -07:00
66792aa96c Adds edit button to monster detail view. 2021-05-24 02:09:42 -07:00
0531d3bd42 Fixes the width of items in the library view. 2021-05-24 02:07:19 -07:00
11dcda249a Project file updates. 2021-05-24 02:02:41 -07:00
bc672ffa2b Library refactoring. 2021-05-02 15:05:21 -07:00
69773a3252 Makes the swipe to delete callback more generic. 2021-05-02 03:16:02 -07:00
3ce68e383f Fixes a bunch of lint errors and enables Flipper navigation logging. 2021-05-02 02:46:50 -07:00
58b1a5b3a5 Replaces fragment tag with FragmentContainerView. 2021-05-02 01:36:16 -07:00
0fa5fc8255 Renames MonsterFragment to MonsterDetailFragment to better explain its use. 2021-05-02 01:35:45 -07:00
2b92040fd4 Make AppCenter only included in debug builds.
Moves Flipper initialization to the same place as AppCenter.
2021-05-02 00:45:23 -07:00
f6633a0676 Removes release build dependencies on Flipper and SoLoader. 2021-05-02 00:03:46 -07:00
a00a149029 ViewModel cleanup
Removes unused view models.
Fixes warnings int MonsterViewModel.
2021-05-01 23:22:04 -07:00
6a88fccf65 Cleans up compiler warnings. 2021-05-01 22:35:37 -07:00
78e7f3ffe4 Removes unused type converter. 2021-05-01 22:34:25 -07:00
74bca57dff Adds functional search using sqlite full text search syntax. 2021-05-01 17:53:48 -07:00
1161e9aff5 Adds Flipper support to debug DB issues. 2021-05-01 13:37:11 -07:00
2a9a783558 Adds DevContent class with dev resources. Specifically an example monster.
Adds a task.
2021-05-01 00:50:14 -07:00
9b9e2a6ae9 Adds swipe to delete monsters on the library screen. 2021-05-01 00:48:17 -07:00
28d2472eb7 Adds floating action button to the library screen to create new monsters.
Adds a snackbar on successful muonster creation to view the new monster.
2021-05-01 00:45:48 -07:00
a6c1f5b687 Makes clicking a monster on the library screen show that monster in the detail screen. 2021-05-01 00:41:24 -07:00
02c964954f Adds list of monsters to Library screen. 2021-05-01 00:28:54 -07:00
9409ef67a4 Adds MCFragment and makes it the base fragment class. 2021-05-01 00:01:05 -07:00
43475450f9 Adds MonsterRepository to manage access to the RoomDB store. 2021-04-30 23:53:38 -07:00
0aff22c0f7 Removes dev navigation on search button clicks. 2021-04-30 23:46:59 -07:00
9c7e29a17f Fixes back button in detail views. 2021-04-30 23:45:58 -07:00
fc5ff934d0 Adds default values to Monster constructor. 2021-04-30 23:44:44 -07:00
cdf38d7050 Adds logger. 2021-04-30 23:43:49 -07:00
11a724b143 Adds application class. 2021-04-30 23:41:38 -07:00
28d3c7c267 Upgrades android gradle plugin. 2021-04-18 00:42:11 -07:00
0a5f436a51 Migrates Monster class to be storable in roomdb. 2021-04-17 23:25:28 -07:00
f75f3f67d2 Creates initial app database class and adds minimal DTO support for monsters. 2021-04-17 14:33:49 -07:00