/** * Specifies whether the checkbox should be active and clickable. * * @param enabled {@code true} for enabled, {@code false} disabled */ public void Enabled(boolean enabled) { if (resourceId != -1) { TextViewUtil.setEnabled( (android.widget.CheckBox) container.$context().findViewById(resourceId), enabled); } else { TextViewUtil.setEnabled(view, enabled); } }
/** * Specifies whether the textbox should be active and useable. * * @param enabled {@code true} for enabled, {@code false} disabled */ public void Enabled(boolean enabled) { TextViewUtil.setEnabled(view, enabled); }