ctx

6543 2020-04-28 10:49:08 +00:00
parent 276d53e7a0
commit 1418fddf94
1 changed files with 2 additions and 1 deletions

@ -163,7 +163,8 @@ All the string names in `strings.xml` must be meaningful. Also check for the str
GitNex use all the default icons provided with Android Studio licensed under Apache. All drawables are SVG. In case there is no matching resource found in the drawable library, a third party resource can be used under an allowed license for that resource. Resource must be SVG. **No gif/png etc are allowed**. GitNex use all the default icons provided with Android Studio licensed under Apache. All drawables are SVG. In case there is no matching resource found in the drawable library, a third party resource can be used under an allowed license for that resource. Resource must be SVG. **No gif/png etc are allowed**.
#### Standard Variable Names #### Standard Variable Names
App Context should be stored at the beggining once in `ctx`. App Context should be stored at the beggining once in `appCtx`.
Current Context should be stored at the beggining once in `ctx`.
#### 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).