GithubHelp home page GithubHelp logo

mynotes's Introduction

MyNotes

Sample notes application using Room, MVVM, Coroutines, Dagger2

Code Style

Kotlin

Please reference this: https://developer.android.com/kotlin/style-guide

Naming

Layout component IDs The IDs should be snake_case

example: android:id="@+id/global_toolbar_location_spinner"

colors.xml

Color names should be camelCase

example: <color name="colorPrimary">#050F26</color>

styles.xml

Style block names should be PascalCase (aka AlpacaCase lol)

example: <style name="SpinnerItemWhatever"> <item name="android:fontFamily">@font/solis_regular</item> <item name="android:textColor">@color/primaryTextColor</item> <item name="android:textSize">16sp</item> </style>

Base styles should be prefixed with Base

<style name="BaseText"> <item name="android:fontFamily">@font/solis_regular</item> </style>

dimens.xml

Dimension names should be snake_case

example: <dimen name="activity_horizontal_margin">16dp</dimen>

strings.xml

String names should be snake_case

example: <string name="menu_bottom_navigation_daily">Daily</string>

Gitflow & PR

Use the gitflow model for feature work, bug fixes, and releases.

mynotes's People

Contributors

vikram2330 avatar

Stargazers

Rooparsh Kalia avatar Darshan Mistry avatar Kishore Babu avatar  avatar Vipul Asri avatar

Watchers

Kishore Babu avatar  avatar

Forkers

mistrydarshan99

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.