Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- EntryEditorFragment now saves its own entry instead of having HomeF…
…ragment do it -- Did this by scoping the ViewModel to the activity and using it in both fragments as mentioned in the docs: https://developer.android.com/topic/libraries/architecture/viewmodel#sharing_data_between_fragments
- Loading branch information
1 parent
20b498b
commit e307bd3
Showing
2 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters