Giter Club home page Giter Club logo

mycalendar's Introduction

MyCalendar

A lib to manipulate android calendar

This project contains the calendar manager lib and the MyCalendar App (that uses this lib).

The calendar Manager API provides methods to create, delete and list calendars. And methods to include, remove and update events in a calendar.

The MyCalendar App uses Jetpack compose and ViewModel as view Controler

The first step is define a archtecture of project. In this case will bem MVVM. So the we will have a ViewModel listen to the user interaction with some livedata been observerd by the view. The responsibility of instatiate this ViewModel and its dependencies will lay on Hilt. Once this structure are created, we will create a CalendarManager or Reposiitory API, that will be a library in de future.

So to accomplish the first step, we will create a Activity, A fragment and a ViewModel. These elements will be in a package called view.

Create a project with no Activity. Create a Blank activity include a fragment host in the activity create a fragment create a navigation graph and associate with fragment host on created activity

Once the ViewModel are created, its time to use it in the fragment (view). For do this, we will use use HHilt anotations over some android classes like Application, Activity and Fragment

mycalendar's People

Contributors

isolino avatar

Watchers

 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.