Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.widget.EditText;

public class Main {
    public static boolean validarCadastro(EditText[] array) {
        boolean retorno = true;
        for (EditText et : array) {
            if (et.getText().toString().equals("")) {
                retorno = false;
                break;
            }
        }
        return retorno;
    }
}