From 85339cd354bda6b8a27092e7783f66564e8fe5b2 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Tue, 28 Apr 2020 06:43:39 +0000 Subject: [PATCH] --- Code-Standards.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Code-Standards.md b/Code-Standards.md index b65dd8b..f8300b9 100644 --- a/Code-Standards.md +++ b/Code-Standards.md @@ -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; + } + }); ```