From 6a3a1690bb7cf02e3954286f00434e2d8ebf522d Mon Sep 17 00:00:00 2001 From: M M Arif Date: Tue, 28 Apr 2020 10:57:48 +0000 Subject: [PATCH] --- Code-Standards.md | 7 +++++++ 1 file changed, 7 insertions(+) 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