Skip to content

Instantly share code, notes, and snippets.

@udacityandroid
Last active February 6, 2023 13:44
Show Gist options
  • Select an option

  • Save udacityandroid/03774486d065d2302e33 to your computer and use it in GitHub Desktop.

Select an option

Save udacityandroid/03774486d065d2302e33 to your computer and use it in GitHub Desktop.

Revisions

  1. udacityandroid revised this gist Jun 23, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion Code snippet in WeatherActivity.java
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    boolean isRaining = false;

    Log.v("WeatherActivity", "Thank you for using the WhetherWeather App.");
    if (isRaining) {
    Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
  2. udacityandroid renamed this gist Jun 22, 2015. 1 changed file with 0 additions and 0 deletions.
  3. udacityandroid revised this gist Jun 22, 2015. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions WeatherActivity.java
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    // WhetherWeather Example - Quiz A

    boolean isRaining = false;

    Log.v("WeatherActivity", "Thank you for using the WhetherWeather App.");
  4. udacityandroid revised this gist Jun 22, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion WeatherActivity.java
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    boolean isRaining = false;

    Log.v("WeatherActivity", "Welcome to the WhetherWeather App.");
    Log.v("WeatherActivity", "Thank you for using the WhetherWeather App.");
    if (isRaining) {
    Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
    } else {
  5. udacityandroid revised this gist Jun 16, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion WeatherActivity.java
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    boolean isRaining = false;

    Log.v("WeatherActivity", "Welcome to the WhetherWeather App");
    Log.v("WeatherActivity", "Welcome to the WhetherWeather App.");
    if (isRaining) {
    Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
    } else {
  6. udacityandroid created this gist Jun 16, 2015.
    10 changes: 10 additions & 0 deletions WeatherActivity.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    // WhetherWeather Example - Quiz A

    boolean isRaining = false;

    Log.v("WeatherActivity", "Welcome to the WhetherWeather App");
    if (isRaining) {
    Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
    } else {
    Log.v("WeatherActivity", "It's unlikely to rain.");
    }