Project

General

Profile

Actions

Task #2646

closed

Convert UI to use Fragments

Added by Ivan Yeo almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
gui
Target version:
Start date:
03/13/2015
Due date:
% Done:

100%

Estimated time:

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

drawer.png (23 KB) drawer.png Navigation Drawer Showcase Ivan Yeo, 03/23/2015 12:24 AM
logcat.png (198 KB) logcat.png Logcat as a UI Fragment for easy reuse Ivan Yeo, 03/23/2015 12:24 AM
start_stop_switch.png (19.4 KB) start_stop_switch.png Nice looking UI Switch for starting and stopping the NFD Ivan Yeo, 03/23/2015 12:24 AM
Actions #1

Updated by Alex Afanasyev almost 10 years ago

  • Subject changed from Covert UI to using Fragments to Convert UI to using Fragments
Actions #2

Updated by Alex Afanasyev almost 10 years ago

  • Subject changed from Convert UI to using Fragments to Convert UI to use Fragments

Updated by Ivan Yeo almost 10 years ago

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

Actions #4

Updated by Alex Afanasyev over 9 years ago

  • Status changed from In Progress to Closed
  • Target version set to 0.1
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF