Search in sources :

Example 1 with RegistrationEditTextView

use of org.edx.mobile.module.registration.view.RegistrationEditTextView in project edx-app-android by edx.

the class RegisterActivity method setAllEditTextsFocusable.

public void setAllEditTextsFocusable(final boolean focusable) {
    for (IRegistrationFieldView fieldView : mFieldViews) {
        if (fieldView instanceof RegistrationEditTextView) {
            RegistrationEditTextView field = (RegistrationEditTextView) fieldView;
            field.setEditTextFocusable(focusable);
        }
    }
}
Also used : RegistrationEditTextView(org.edx.mobile.module.registration.view.RegistrationEditTextView) IRegistrationFieldView(org.edx.mobile.module.registration.view.IRegistrationFieldView)

Aggregations

IRegistrationFieldView (org.edx.mobile.module.registration.view.IRegistrationFieldView)1 RegistrationEditTextView (org.edx.mobile.module.registration.view.RegistrationEditTextView)1