Skip to content

Instantly share code, notes, and snippets.

@Aracem
Created January 15, 2015 10:56
Show Gist options
  • Save Aracem/56e7f7a0509458bcaad7 to your computer and use it in GitHub Desktop.
Save Aracem/56e7f7a0509458bcaad7 to your computer and use it in GitHub Desktop.
Android Studio Live Template to put check if a textview is not empty
/**
* Template to put the annoying !TextUtils.isEmpty(String)
*
* Declaration: Java - Expression
* Variables:
* $STRING$ expresion: completeSmart()
*
* Follow this instruction to add it to Android Studio
* http://dmytrodanylyk.com/pages/blog/templates.html
*/
!TextUtils.isEmpty($STRING$)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment