Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save nduas77/7b0aa26f16cfdf57793a2019f98d1af4 to your computer and use it in GitHub Desktop.

Select an option

Save nduas77/7b0aa26f16cfdf57793a2019f98d1af4 to your computer and use it in GitHub Desktop.

Revisions

  1. udacityandroid renamed this gist Jun 22, 2015. 1 changed file with 0 additions and 0 deletions.
  2. 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

    boolean isRaining = true;
    if (isRaining) {
    Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
  3. 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
    @@ -6,4 +6,4 @@
    } else {
    Log.v("WeatherActivity", "It's unlikely to rain.");
    }
    Log.v("WeatherActivity", "Thank you for using the WhetherWeather App");
    Log.v("WeatherActivity", "Thank you for using the WhetherWeather App.");
  4. udacityandroid created this gist Jun 16, 2015.
    9 changes: 9 additions & 0 deletions WeatherActivity.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    // WhetherWeather Example

    boolean isRaining = true;
    if (isRaining) {
    Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
    } else {
    Log.v("WeatherActivity", "It's unlikely to rain.");
    }
    Log.v("WeatherActivity", "Thank you for using the WhetherWeather App");