GithubHelp home page GithubHelp logo

439ed537979d8e831561964dbbbd7413 / belive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zaizaixinhtrai/belive

0.0 1.0 0.0 108.39 MB

Prolog 0.07% IDL 0.07% GLSL 0.06% Java 62.81% Kotlin 6.06% Makefile 0.02% C++ 30.86% C 0.05% Shell 0.01%

belive's Introduction

Master

CircleCI

Develop

CircleCI

Android Team Code style

Follow Field Naming Conventions

  • Non-public, non-static field names start with m
  • Static field names start with s
  • Other fields start with a lower case letter
  • Public static final fields (constants) are ALL_CAPS_WITH_UNDERSCORES

For example:

public class MyClass {
    public static final int SOME_CONSTANT = 42;
    public int publicField;
    private static MyClass sSingleton;
    int mPackagePrivate;
    private int mPrivate;
    protected int mProtected;
}

Setup

Image

Using MVP Template

  1. locate the template file at {your_project_directory}/templates/BeliveMVPTemplate.zip
  2. unzip and copy the unzipped directory into {your_Android_Studio_Path}/plugins/android/lib/templates/other/directory
  3. open or restart the Android Studio
  4. in the Project Window in Android Studio, create a new package named new_feature
  5. hit right mouse on the new_feature package, a new contextual menu shown, select new -> other -> BeliveMVPTemplate
  6. done, as you can see in the screenshot below, Android Studio automatically creates for us 3 files NewFeatureActivity NewFeatureContract NewFeaturePresenter and they already implemented common methods as MVP pattern.

Image

belive's People

Watchers

James Cloos 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.