mirror of https://codeberg.org/gitnex/GitNex.git
parent
e029b3282f
commit
c1c17f4b51
|
@ -54,7 +54,7 @@ public class ExploreRepositoriesFragment extends Fragment {
|
|||
|
||||
Note the blank line before declaring any variables and functions.
|
||||
|
||||
Usage of if statements:
|
||||
#### Usage of if statements:
|
||||
```
|
||||
if (response.isSuccessful()) {
|
||||
assert response.body() != null;
|
||||
|
@ -64,3 +64,6 @@ else {
|
|||
Log.i("onResponse", String.valueOf(response.code()));
|
||||
}
|
||||
```
|
||||
|
||||
#### Tab or spaces?
|
||||
GitNex app has used tabs(4 spaces) and it is recommended to use tab.
|
Loading…
Reference in New Issue