diff --git a/Code-Standards.md b/Code-Standards.md index b221c8f..c232489 100644 --- a/Code-Standards.md +++ b/Code-Standards.md @@ -166,5 +166,12 @@ GitNex use all the default icons provided with Android Studio licensed under Apa App Context should be stored at the beggining once in `appCtx`. Current Context should be stored at the beggining once in `ctx`. +appCtx: +``` +private Context appCtx; + +appCtx = getApplicationContext(); +``` + #### Static Variables Static and standard reusable variables should be stored in [StaticGlobalVariables.java](https://gitea.com/gitnex/GitNex/src/branch/master/app/src/main/java/org/mian/gitnex/helpers/StaticGlobalVariables.java). \ No newline at end of file