-
-
Save slxny/9e14cb6dacca2fc16444db8d8829df28 to your computer and use it in GitHub Desktop.
I think I'm confusing myself
This file contains 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 characters
package com.example.android.justjava; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.CheckBox; | |
import android.widget.TextView; | |
public class MainActivity extends AppCompatActivity { | |
boolean rainingBool = true; | |
public void determineRain(){ | |
if (rainingBool) | |
{ | |
Log.v("activity_main.java", "Weather as expected today."); | |
} else | |
{ | |
Log.e("activity_main.java", "Rain: 100% forecast."); | |
} | |
Log.v("activity_main.java", "Thank you for doing this for me!"); | |
} | |
this.determineRain(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment