M M Arif 2020-04-28 10:57:48 +00:00
parent 1418fddf94
commit 6a3a1690bb
1 changed files with 7 additions and 0 deletions

@ -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`. App Context should be stored at the beggining once in `appCtx`.
Current Context should be stored at the beggining once in `ctx`. Current Context should be stored at the beggining once in `ctx`.
appCtx:
```
private Context appCtx;
appCtx = getApplicationContext();
```
#### Static Variables #### 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). 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).