Commit Graph

110 Commits

Author SHA1 Message Date
8e29dc2440 Adds Edit Senses fragment. 2021-06-20 14:07:44 -07:00
1449893e4e Removes unused code from edit skills. 2021-06-20 12:40:06 -07:00
d8baac26bf Replaces usages of Fragment with MCFragment. 2021-06-20 12:15:19 -07:00
50af67d4e7 Adds senses to EditMonsterViewModel. 2021-06-20 11:26:39 -07:00
1e1cf1309d Fixes default values for array/set properties of monsters in db.
Removes individual senses properties and replaces with a Set<String>.
2021-06-20 02:14:48 -07:00
5ea851ef8f Updates TODO in EditMonsterViewModel. 2021-06-20 00:56:53 -07:00
3a3f78a31e Adds edit skill fragment to edit individual skills. 2021-06-20 00:51:56 -07:00
547b20292f Adds stubbed out method to navigate to the edit skill fragment.
Adds a click handler to the edit skills recycler view adapter.
Makes tapping a skill in the edit skills view navigate to the editor for that skill.
Makes adding a new skill immediately edit the skill.
2021-06-20 00:49:41 -07:00
e082db43f8 Makes addNewSkill return the new skill.
Adds replaceSkill to replace an existing skill in the skills array.
2021-06-20 00:44:20 -07:00
ceea940ec7 Adds an equals method to skills. 2021-06-20 00:41:56 -07:00
3231a36be5 Makes AdvantagePicker work if you set the id of the advantage picker to advantage. 2021-06-20 00:41:09 -07:00
0c7394f05e Adds ability score picker. 2021-06-20 00:40:14 -07:00
edafe908fc Lint cleanup. 2021-06-20 00:37:16 -07:00
30bb44a8a8 Removes debug logging. 2021-06-20 00:35:35 -07:00
a6a2824469 Disables annoying lint rule. 2021-06-20 00:33:41 -07:00
463311b949 Adds ability to remove a skill. 2021-06-12 22:16:16 -07:00
186c1a80bd Keeps skills on the edit skills screen sorted. 2021-06-12 22:14:31 -07:00
363bad5931 Fixes bug where adding a new skill wouldn't show up until leaving and returning to the edit skills screen. 2021-06-12 22:12:39 -07:00
afba6e8490 Adds item dividers to the Library and Edit Skills screens.
Makes the two layouts consistent with each other.
2021-06-12 21:48:23 -07:00
b51318220b Makes Add Skill button a FloatingActionButton. 2021-06-12 19:51:48 -07:00
703bb3d77f Adds "New Skill" button. 2021-06-10 23:45:04 -07:00
98f46694fc Adds edit skills view. 2021-06-10 22:50:27 -07:00
0e3f14f288 Adds edit challenge rating screen. 2021-05-31 20:23:39 -07:00
8fc27a6d6e Adds remaining monster properties to the edit monster view model. 2021-05-31 17:16:58 -07:00
a6cced2ccf Adds better change tracking to know if a monster needs to be saved. 2021-05-31 14:35:23 -07:00
8fd313e3df Adds saving throws editor. 2021-05-31 12:58:34 -07:00
1c5762405a Adds AdvantagePicker and ProficiencyPicker components. 2021-05-31 12:56:58 -07:00
aa850ecfc6 Adds a Stepper control and uses it for the steppers in the editor. 2021-05-30 03:40:30 -07:00
5a94408f7b Adds screen to edit ability scores. 2021-05-30 01:55:45 -07:00
bc115efba8 Adds missed change tracking to EditMonsterViewModel. 2021-05-30 00:11:14 -07:00
84467dbb0d Adds Edit Speed screen to the monster editor. 2021-05-30 00:10:44 -07:00
f4dd3855d6 Adds Edit Armor screen to edit a monster's armor stats. 2021-05-29 19:46:28 -07:00
82ce3d3788 Adds hit dice and has custom HP toggle to the edit basic info screen. 2021-05-27 21:44:17 -07:00
f41b8d0065 Adds confirmation when going up from the edit monster screen to save, cancel, or discard changes. 2021-05-27 19:16:05 -07:00
ced5560dd0 Adds setTitle helper method to MCFragment. 2021-05-27 19:15:23 -07:00
a19839b473 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
b377e0656e Adds TextChangedListener helper class to make working with text inputs less verbose. 2021-05-27 04:17:22 -07:00
acef784c6d 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
4ff945301f Fixes passing the monster id when navigating to the edit monster screen. 2021-05-27 03:23:23 -07:00
71c0fdb43e Extracts library strings to resources. 2021-05-27 03:22:23 -07:00
e00167383a Changes to code format settings. 2021-05-27 03:18:36 -07:00
dc631839cf Adds helper method to MCFragment to get the AppCompatActivity for the fragment. 2021-05-27 03:18:17 -07:00
c1624d69ac Adds edit monster view holder and placeholder for basic info tap handler. 2021-05-27 02:28:29 -07:00
b70c077b56 Adds top level items to the edit monster view. 2021-05-27 02:17:00 -07:00
76027ca186 Replaces EditMonsterFragment with a basic ConstraintLayout. 2021-05-27 01:15:46 -07:00
41ac263321 Adds shared preferences flipper plugin. 2021-05-27 01:04:28 -07:00
83db456d07 Migrates from jcenter to maven central because of the jcenter shutdown. 2021-05-27 00:28:36 -07:00
3edd575839 Upgrades Android Gradle Plugin to 4.2.1 and Gradle to 6.7.1 2021-05-24 02:59:24 -07:00
dc4d78b7fb Adds Edit Monster placeholder fragment. 2021-05-24 02:48:00 -07:00
91647ab951 Adds edit button to monster detail view. 2021-05-24 02:09:42 -07:00