Wally is a location-based augmented reality social network. Users can post and share virtual content (such as notes, images, videos) in the real world though their Google Tango devices.
see the demo
Please refer to official Android coding standards.
See how variable declaration differs
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;
}
Also see Annotation guide. and [Full Annotation list] (http://developer.android.com/reference/android/support/annotation/package-summary.html)
Annotations like @NonNull
, @UiThread
, @CallSuper
Will be very handful.
If you are eager to read further, see [full coding styles & standards] (https://github.com/ribot/android-guidelines/blob/master/project_and_code_guidelines.md).
Before pushing your code:
- Run lint test task. (From gradle panel in the editor, right top panel, Wally -> Tasks -> verification -> lint
- Open your generated lint report page and see what new warnings were added.
- If there was something new refactor or suppress lint warning.
- If you cannot suppress warning leave it with a reason described in your commit message.
Be careful when you suppress warning. Never suppress warning that might crash or break application. You can suppress when you definitely have a reason. For example when you know that variable will never be null and lint warns you NullPointerException, you can suppress warning.
[Google Sign in sample (With silent sign in)] (https://github.com/googlesamples/google-services/blob/master/android/signin/app/src/main/java/com/google/samples/quickstart/signin/SignInActivity.java)