Java tutorial
//package com.java2s; import android.widget.TextView; public class Main { /** * check if an TextView is empty, and returns a boolean * @param textViews * @return */ public static boolean isEmptyMultiTextView(TextView... textViews) { for (TextView textView : textViews) { if (textView.getText().toString().trim().isEmpty()) { return true; } } return false; } }