23 April 2013

Quick Tip: Checking for emptiness

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.