Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.text.TextUtils;
import android.widget.EditText;

public class Main {
    public static boolean isEmptys(EditText... editTexts) {
        for (EditText ed : editTexts) {
            String str = ed.getText().toString().trim();
            if (TextUtils.isEmpty(str)) {
                return true;
            }
        }
        return false;
    }
}