Created
November 12, 2018 08:50
-
-
Save humbledroid/3360580ead7a98ece2031d60210b2586 to your computer and use it in GitHub Desktop.
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 characters
| package com.death.timberdemo; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| public class MainActivity extends AppCompatActivity { | |
| private static final String TAG = MainActivity.class.getSimpleName(); | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_main); | |
| if(ApplicationController.isDebug){ | |
| Log.e(TAG, "Some message"); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment