M M Arif 2020-04-28 06:43:39 +00:00
parent 2994892c0e
commit 85339cd354
1 changed files with 6 additions and 0 deletions

@ -76,9 +76,12 @@ GitNex app has used tabs(4 spaces) and it is recommended to use tab for indentat
All statements should have proper indentation. Example,
```
popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
@Override
public boolean onMenuItemClick(MenuItem item) {
switch (item.getItemId()) {
case R.id.repoStargazers:
Intent intent = new Intent(context, RepoStargazersActivity.class);
@ -101,8 +104,11 @@ popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
break;
}
return false;
}
});
```