Skip to content

3. Development

Naitbobbes edited this page Mar 20, 2018 · 18 revisions

1. Important classes

MainActivity

This class is responsible for the main functionality of the app. It handles the following:

  • Authentification and GUI setup (#authAndGuiInit, #initActivity, #GuiSetup)
  • Navigation (#onNavigationItemSelected)
  • Reminder functions (#reminderServiceConnection, #notifyReminderService)
  • Create/delete Lists (#addListToNav, #startListDialog, #onCustomMenuItemClickListener)
  • Create tasks (#initFab)
  • Filter tasks (#onOptionsItemSelected)
  • Display tasks (#showAllTasks, #showTasksOfList)
  • Long clicks operations on tasks (#onCreateContextMenu, #onContextItemSelected)
  • Hints (#hints)

ExpandableTodoTaskAdapter

Manages the following functionality of a expandable task item:

  • Set the view of a expandable task item (#getGroupView)
  • Snackbar when deleting (#getGroupView)
  • Filter and sorting conditions (#addSortCondition, #removeSortCondition, #filterTasks, #sortTasks)
  • Computes progress of a task by done subtasks
Clone this wiki locally