Last active
February 6, 2023 13:53
-
-
Save udacityandroid/30774906a4fc87b31d0b to your computer and use it in GitHub Desktop.
Revisions
-
udacityandroid revised this gist
Jun 23, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,5 @@ draftMessage = "You have no new drafts."; } Log.v("InboxActivity", emailMessage); Log.v("InboxActivity", draftMessage); -
udacityandroid revised this gist
Jun 23, 2015 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,13 @@ int numberOfEmailsInInbox = 0; int numberOfDraftEmails = 2; String emailMessage = "You have " + numberOfEmailsInInbox + " emails. "; String draftMessage = "You have " + numberOfDraftEmails + " email drafts."; if (numberOfEmailsInInbox == 0) { emailMessage = "You have no new messages. "; } if (numberOfDraftEmails == 0) { draftMessage = "You have no new drafts."; } Log.v("InboxActivity", emailMessage + draftMessage); -
udacityandroid revised this gist
Jun 23, 2015 . 1 changed file with 11 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,14 @@ int numberOfEmailsInInbox = 0; String emailMessage = "You have " + numberOfEmailsInInbox + " emails. "; String draftMessage = "You have " + numberOfDraftEmails + " email drafts." if (numberOfEmailsInInbox == 0) { emailMessage = "You have no new messages. "; } if (numberOfDraftEmails == 0) { draftMessage = "You have no new drafts." } Log.v("InboxActivity", emailMessage + draftMessage); -
udacityandroid renamed this gist
Jun 22, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
udacityandroid revised this gist
Jun 22, 2015 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ int numberOfEmailsInInbox = 0; String emailMessage = "You have " + numberOfEmailsInInbox + " emails"; if (numberOfEmailsInInbox == 0) { -
udacityandroid created this gist
Jun 16, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ // Inbox Example - Quiz B int numberOfEmailsInInbox = 0; String emailMessage = "You have " + numberOfEmailsInInbox + " emails"; if (numberOfEmailsInInbox == 0) { emailMessage = "You have no new messages"; } Log.v("InboxActivity", emailMessage);