Task #2646
closed
Convert UI to use Fragments
Added by Ivan Yeo over 9 years ago.
Updated over 9 years ago.
Description
Fragments provide for dynamic user interfaces. They also offer the flexibility to recompose UI without the need for migrating code when the UI changes. This allows for more modular and highly compartmentalized UI design and code maintenance.
This task converts all UI components in the current NFD Android code base to make use of Fragments.
Useful Reference:
http://developer.android.com/guide/components/fragments.html
Files
- Subject changed from Covert UI to using Fragments to Convert UI to using Fragments
- Subject changed from Convert UI to using Fragments to Convert UI to use Fragments
First pass at refactoring the UI elements to use Fragments is complete. Minor adjustments will be made during code review. Code review can be found at:
http://gerrit.named-data.net/#/c/1903/
For this task:
1) A user navigation drawer has been put in place (see attached file)
2) Logcat now has a UI Fragment that can be easily reused
3) NFD can now be started and stopped with a nice looking switch
- Status changed from In Progress to Closed
- Target version set to 0.1
- % Done changed from 80 to 100
Also available in: Atom
PDF