Code example for Button

Methods: setEnabled

0
 
        @Override 
        protected void onPostExecute(Boolean result) {
            CharSequence text = (result) ? "Valid!" : "NOT VALID";
            mResultText.setText(text);
            mValidateButton.setEnabled(true);
        } 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE