Quick Tip: Checking for emptiness

23 Apr 2013 | Comments

Always using if(myString != null && myString.length() > 0)? Use !TextUtils.isEmpty(myString) instead.

Check out the class for more utility methods that you won't have to implement yourself.