Last active
March 30, 2019 06:46
-
-
Save ch8n/a6b08e0c49ebf547fdda646ce2916383 to your computer and use it in GitHub Desktop.
Safe todo for production and testing
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
fun SAFE_TODO(reason:String){ | |
if (BuildConfig.DEBUG) { | |
TODO(reason) | |
}else{ | |
Toast.makeText(context,"NOT_IMPLEMENYTED:$reason",Toast.LENGTH_SHORT).show() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment