The Diary App helps you keep a record of your thoughts and notes. This is possible using Room a persistence library and one of the architecture component libraries, it provides an abstraction over SQLite by acting as an Object Relational Mapper ,ORM.
- Knowledge on android basics.
- Have Android Studio / IntelliJ.
- Knowledge on git.
- Foundational Knowledge on SQL.
This repository contains several branches that build on each step we will take to build out the Diary app to handle Create,Read,Update and Delete Operations,CRUD.
The develop branch which is the main branch will have the starter code and the rest of the branches are steps towards building a complete app.
To start with the first step/session and subsequent sessions.
- Clone the Repository or Fork and Clone from your own repository,whichever you are comfortable with.
- Open Existing Project from Android Studio or Intellij and navigate to the cloned project and open it.
- If you use the terminal for git perform a
git fetch
andgit branch
to see available branches andgit checkout branch-name
to the branch of interest to get started. - If you use the IDE for git stuff,on the bottom right click on the git branch name and select the branch you are interested in and select the checkout option.See Images below
- Also each step contains a
TODO
which you can follow.To see all available todos for the current step you are in check for the TODO tab at the bottom of the IDE.
Room ORM | GADS 2020 | Workshop 2
- Object Relational Mapping
- Room Persistence Library
- Save Data in Local Database Using Room
- Room Library Code Documentation
- Room Release Notes
- Dependency Injection
Copyright 2020 David Odari
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.
Incase of anything feel free to reach me on
Feel free to send in your pull request or file an issue if you notice something that doesn't seem right.