parent
1418fddf94
commit
6a3a1690bb
|
@ -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).
|
Loading…
Reference in New Issue