Skip to content

Google-Developer-Student-Club-RAIT/Room_Database_Mobile_Example

Repository files navigation

RoomDatabase Example

This repository contains the finished sample code for the Architecture Components codelab in Java on the master branch and in Kotlin for the Architecture Components Kotlin codelab on the kotlin branch.

Introduction

In May 2017 Google released the Architecture Components libraries. Each library manages and simplifies aspects of data persistence and the UI component lifecycle. Together, the libraries encourage a modular app architecture that results in reduced complexity and less code.

This sample shows how to use the libraries to build a complete basic app that implements the recommended architecture and can be used as a template for further explorations.

Installation

Steps

Step 1:

Download or clone this repo by using the link below:

https://github.com/Google-Developer-Student-Club-RAIT/Room_Database_Mobile_Example.git 

Step 2:

Open Android Studio and Go to project root and build the project from top-left toolbar:

Build -> Make Project

Step 3:

then click on play button(top-right) to run the application:

or if you get any error in gradle then execute following option:

  file -> Invalidate Caches / Restart

Step to Contribute

Click here

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/Google-Developer-Student-Club-RAIT/Room_Database_Mobile_Example.git 

3. Navigate to the project directory 📁 .

cd Room_Database_Mobile_Example

4. Add a reference(remote) to the original repository.

git remote add upstream https://github.com/Google-Developer-Student-Club-RAIT/Room_Database_Mobile_Example

5. Check the remotes for this repository.

git remote -v

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project(updated repository).

git pull upstream main

7. Create a new branch.

git checkout -b <your_branch_name>

8. Perform your desired changes to the code base.

9. Track your changes:heavy_check_mark: .

git add . 

10. Commit your changes .

git commit -m "Relevant message"

11. Push the committed changes in your feature branch to your remote repo.

git push -u origin <your_branch_name>

12. To create a pull request, click on compare and pull requests. Please ensure you compare your feature branch to the desired branch of the repository you are supposed to make a PR to.

13. Add appropriate title and description to your pull request explaining your changes and efforts done.

14. Click on Create Pull Request.

15 Congratulations! You have made a PR. Sit back patiently and relax while your PR is reviewed.

Code-Style

// make wiki guide page for kotlin code-style

Contributors

Contact

Maintainer : jadhavAkshay0701@gmail.com

License

Copyright 2021 Google, Inc.

All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav and *.ogg) are licensed under the CC BY 4.0 license. All other files are licensed under the Apache 2 license.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the LICENSE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages