Coder Social home page Coder Social logo

agendaviewer's Introduction

AgendaViewer

A simple agenda viewer which shows the events in all the device's calendars. The app is modularized and is using the Clean architecture for code structuring. Communication between components is implemented using the MVVM architecture.

The agenda list is bi-directional - it starts from the first day with events (now or in the future) and can go forward or backward in time until the CalendarProvider returns 0 items.

The implemented requirements are marked as Done. Below the Requirements are listed some TODOs that given time I would like to work on

Requirements

(App) targetSdkVersion must be 26

∙ (App) Must handle runtime permissions request to access the native calendar provider

Done

∙ (Agenda List) Must be able to handle multiple calendars on the device. Very important.

Done

∙ (Availability checker) Must find an open slot at the next 30 minute increment from the current time. If current time is 5:33 then the soonest available slot you should find is 6:00

Done

∙ (Availability checker) Only events with an availability of Busy should be considered as time slots that you aren’t available for

Done

∙ (Agenda List) All day events should show the start/end time as “ALL DAY”

Done

∙ (Agenda List) Show the calendar color somewhere on the event cell so the user can identify which calendar the event belongs to

Done

∙ (Agenda List) You should create sticky headers to group the events by day

Done

Bonus points:

∙ Allow for user to choose between 30 minutes or 1 hour time slot for availability check. So instead of finding an open 30 minute window you would be finding an open 1 hour window where there are no other events.

Done

TODO

∙ Work a bit on readability on some portions of the code

∙ Implement extensive unit testing. Right now, because of time constraints, the unit tests are limited to just being a showcase of how I usually do them. They can be found in the presentation module

∙ Spend more time manually testing

∙ Split up CalendarContentResolver in multiple classes (commands which call the central content resolver)

∙ Work a bit on UI and UX as currently it's not optimal

∙ Work on optimizations (memory and time)

agendaviewer's People

Contributors

krasi-karamazov avatar

Stargazers

Satish Menedi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.