반응형 공백체크2 edittext 에 null또는 공백체크 TextUtils.isEmpty(edittext) public static boolean isEmpty(@Nullable CharSequence str) { if (str == null || str.length() == 0) return true; else return false; } 2019. 3. 19. edittext 에 null또는 공백체크 TextUtils.isEmpty(edittext) public static boolean isEmpty(@Nullable CharSequence str) { isEmpty if (str == null || str.length() == 0) return true; else return false; } 2019. 3. 19. 이전 1 다음 반응형