ARNdroid / EasyTargetDiet

Android Easy Target Diet project.
4 stars 1 forks source link

TextUtils: replacement for isEmpty() #181

Closed ARNdroid closed 9 years ago

ARNdroid commented 9 years ago

The android.text.TextUtils.isEmpty(CharSequence str) consider a string containing only spaces NOT empty but we need an utility method returning true (it's empty) in those cases.

Solution: