Skip to content

Curs1 cc2#9

Open
sebapitur wants to merge 3 commits into
magdamiu:mainfrom
sebapitur:Curs1-CC2
Open

Curs1 cc2#9
sebapitur wants to merge 3 commits into
magdamiu:mainfrom
sebapitur:Curs1-CC2

Conversation

@sebapitur

Copy link
Copy Markdown

No description provided.

@magdamiu magdamiu left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the added comments and if something is not clear, just let me know.

super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
try {
String null_ = null;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of this code?

@@ -54,7 +54,6 @@ public void displayGreetingsOnClick(View view) {
textViewGreetings.setText(inputName);
} else {
editTextName.setError(getString(R.string.error_insert_name));

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a good practice to format the code with CTRL + ALT + L before you commit it and to remove the unnecessary spaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants