Android examples for User Interface:TextView
is Empty TextView
//package com.java2s; import android.widget.TextView; public class Main { public static boolean isEmptyTextView(TextView tv) { if (tv == null) { return true; }//from w w w .j a v a 2 s.c o m if ("".equals(tv.getText().toString())) { return true; } else { return false; } } }