Skip to content

Refactor NoteFragments, category in ActionBar#299

Merged
stefan-niedermann merged 1 commit into
masterfrom
note-activity
Nov 30, 2017
Merged

Refactor NoteFragments, category in ActionBar#299
stefan-niedermann merged 1 commit into
masterfrom
note-activity

Conversation

@korelstar

@korelstar korelstar commented Nov 16, 2017

Copy link
Copy Markdown
Member

Complete refactoring of EditNoteActivity, NoteFragmentI, NoteEditFragment and NotePreviewFragment. Please don't start big changes on these classes until this PR is finished.

  • display category in ActionBar's subtitle (fixes Category as ActionBar's subtitle in EditNoteActivity #285)
  • complete refactoring: separate functionalities:
    • EditNoteActivity: management of fragments (start intended view/edit mode and save state) and calling from app and widget
    • BaseNoteFragment: handling of note (loading, saving), menu and ActionBar and respective actions on them
    • NoteEditFragment: handling auto-save
    • NotePreviewFragment: just display the note
  • Fixes doubled instantiation of fragments when rotating
  • depends on Categories in NavigationDrawer #275
  • make category in ActionBar clickable

@stefan-niedermann

Copy link
Copy Markdown
Member

@korelstar can you please resolve the remaining conflicts?

@korelstar korelstar changed the title [WiP] refactor NoteFragments, category in ActionBar Refactor NoteFragments, category in ActionBar Nov 27, 2017
@korelstar

Copy link
Copy Markdown
Member Author

ready for review/merging

@stefan-niedermann stefan-niedermann merged commit d9c3bc6 into master Nov 30, 2017
@korelstar korelstar deleted the note-activity branch February 4, 2018 16:28
@korelstar korelstar added this to the 0.13.0 milestone Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Category as ActionBar's subtitle in EditNoteActivity

2 participants