M M Arif 2019-12-03 12:53:33 +00:00
parent e029b3282f
commit c1c17f4b51
1 changed files with 4 additions and 1 deletions

@ -54,7 +54,7 @@ public class ExploreRepositoriesFragment extends Fragment {
Note the blank line before declaring any variables and functions. Note the blank line before declaring any variables and functions.
Usage of if statements: #### Usage of if statements:
``` ```
if (response.isSuccessful()) { if (response.isSuccessful()) {
assert response.body() != null; assert response.body() != null;
@ -64,3 +64,6 @@ else {
Log.i("onResponse", String.valueOf(response.code())); Log.i("onResponse", String.valueOf(response.code()));
} }
``` ```
#### Tab or spaces?
GitNex app has used tabs(4 spaces) and it is recommended to use tab.