Skip to content

ZkHaider/CodePath-TodoApp

Repository files navigation

TodoCodePathApp

TodoCodePathApp is an android app that allows building a todo list and basic todo items management functionality including adding new items, editing and deleting an existing item. Not only does it do todos but it is actually a super secret Cat spy software for the underground cat illuminati society.

Submitted by: Haider Khan (ZkHaider)

Time spent: 6 hours spent in total

User Stories

The following required functionality is completed:

  • User can successfully add and remove items from the todo list
  • User can tap a todo item in the list and bring up an edit screen for the todo item and then have any changes to the text reflected in the todo list.
  • User can persist todo items and retrieve them properly on app restart

The following optional features are implemented:

  • Persist the todo items into SQLite instead of a text file
  • Improve style of the todo items in the list using a custom adapter
  • Add support for completion due dates for todo items (and display within listview item)
  • Use a DialogFragment instead of new Activity for editing items
  • Add support for selecting the priority of each todo item (and display in listview item)
  • Tweak the style improving the UI / UX, play with colors, images or backgrounds

The following additional features are implemented:

  • Super secret Caturday party viewpager utilizing The Cat API.
  • Use of Android's Palette Library for Vibrant Colors.
  • Uses TextInputLayout from Google's new design support library.
  • API Integration using Retrofit and SimpleXMLConverter.
  • Event-Bus system integration for better architecture.
  • TimeStamp Util class that displays time as "X minutes ago", "X hours ago", "X days ago", etc.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Floating Action Button Menu

Todo Add Item

Todo Delete Item

Todo Cancel Remove Swipe

Todo Update

Todo Persistence

Todo Caturday Secret Illuminati Society

Notes

The biggest challenge for this application was probably working with Cursors and SQLiteOpenHelper class, and persisting a Object Relational Map class. Those things probably took the longest amount of time to figure out. The next difficult thing was probably Fragment management, there is only one activity in this application and three different fragments that are managed.

License

Copyright 2015 ZkHaider

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

The CodePath - TodoApp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages