NotEmptyCheck

public class NotEmptyCheck extends CheckSingle

Ensure the view if not blank.

Fields

errorMessage

protected String errorMessage

Constructors

NotEmptyCheck

public NotEmptyCheck(EditText editText, String errorMessage)

NotEmptyCheck

public NotEmptyCheck(Spinner spinner, String errorMessage)

NotEmptyCheck

public NotEmptyCheck(CompoundButton compoundButton, String errorMessage)

Methods

getErrorMsg

public String getErrorMsg()

getValue

public String getValue()

getView

protected TextView getView()

Gets the editText we are working on.

run

public boolean run()