// Generated by data binding compiler. Do not edit!
package com.toughra.ustadmobile.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout;
import com.toughra.ustadmobile.R;
import com.ustadmobile.lib.db.entities.PersonWithAccount;
import com.ustadmobile.port.android.view.PersonEditFragmentEventHandler;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class FragmentPersonAccountEditBinding extends ViewDataBinding {
  @NonNull
  public final TextInputEditText accountUsernameText;

  @NonNull
  public final TextInputEditText confirmPasswordText;

  @NonNull
  public final TextInputLayout confirmPasswordTextinputlayout;

  @NonNull
  public final TextInputEditText currentPasswordText;

  @NonNull
  public final TextInputLayout currentPasswordTextinputlayout;

  @NonNull
  public final TextView errorText;

  @NonNull
  public final TextInputEditText newPasswordText;

  @NonNull
  public final TextInputLayout newPasswordTextinputlayout;

  @NonNull
  public final TextInputLayout usernameTextinputlayout;

  @Bindable
  protected PersonWithAccount mPerson;

  @Bindable
  protected Integer mCurrentPasswordVisibility;

  @Bindable
  protected Integer mUsernameVisibility;

  @Bindable
  protected String mUsernameError;

  @Bindable
  protected String mCurrentPasswordError;

  @Bindable
  protected String mPasswordError;

  @Bindable
  protected String mPasswordConfirmError;

  @Bindable
  protected PersonEditFragmentEventHandler mActivityEventHandler;

  protected FragmentPersonAccountEditBinding(Object _bindingComponent, View _root,
      int _localFieldCount, TextInputEditText accountUsernameText,
      TextInputEditText confirmPasswordText, TextInputLayout confirmPasswordTextinputlayout,
      TextInputEditText currentPasswordText, TextInputLayout currentPasswordTextinputlayout,
      TextView errorText, TextInputEditText newPasswordText,
      TextInputLayout newPasswordTextinputlayout, TextInputLayout usernameTextinputlayout) {
    super(_bindingComponent, _root, _localFieldCount);
    this.accountUsernameText = accountUsernameText;
    this.confirmPasswordText = confirmPasswordText;
    this.confirmPasswordTextinputlayout = confirmPasswordTextinputlayout;
    this.currentPasswordText = currentPasswordText;
    this.currentPasswordTextinputlayout = currentPasswordTextinputlayout;
    this.errorText = errorText;
    this.newPasswordText = newPasswordText;
    this.newPasswordTextinputlayout = newPasswordTextinputlayout;
    this.usernameTextinputlayout = usernameTextinputlayout;
  }

  public abstract void setPerson(@Nullable PersonWithAccount person);

  @Nullable
  public PersonWithAccount getPerson() {
    return mPerson;
  }

  public abstract void setCurrentPasswordVisibility(@Nullable Integer currentPasswordVisibility);

  @Nullable
  public Integer getCurrentPasswordVisibility() {
    return mCurrentPasswordVisibility;
  }

  public abstract void setUsernameVisibility(@Nullable Integer usernameVisibility);

  @Nullable
  public Integer getUsernameVisibility() {
    return mUsernameVisibility;
  }

  public abstract void setUsernameError(@Nullable String usernameError);

  @Nullable
  public String getUsernameError() {
    return mUsernameError;
  }

  public abstract void setCurrentPasswordError(@Nullable String currentPasswordError);

  @Nullable
  public String getCurrentPasswordError() {
    return mCurrentPasswordError;
  }

  public abstract void setPasswordError(@Nullable String passwordError);

  @Nullable
  public String getPasswordError() {
    return mPasswordError;
  }

  public abstract void setPasswordConfirmError(@Nullable String passwordConfirmError);

  @Nullable
  public String getPasswordConfirmError() {
    return mPasswordConfirmError;
  }

  public abstract void setActivityEventHandler(
      @Nullable PersonEditFragmentEventHandler activityEventHandler);

  @Nullable
  public PersonEditFragmentEventHandler getActivityEventHandler() {
    return mActivityEventHandler;
  }

  @NonNull
  public static FragmentPersonAccountEditBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot) {
    return inflate(inflater, root, attachToRoot, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.inflate(inflater, R.layout.fragment_person_account_edit, root, attachToRoot, component)
   */
  @NonNull
  @Deprecated
  public static FragmentPersonAccountEditBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot, @Nullable Object component) {
    return ViewDataBinding.<FragmentPersonAccountEditBinding>inflateInternal(inflater, R.layout.fragment_person_account_edit, root, attachToRoot, component);
  }

  @NonNull
  public static FragmentPersonAccountEditBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.inflate(inflater, R.layout.fragment_person_account_edit, null, false, component)
   */
  @NonNull
  @Deprecated
  public static FragmentPersonAccountEditBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable Object component) {
    return ViewDataBinding.<FragmentPersonAccountEditBinding>inflateInternal(inflater, R.layout.fragment_person_account_edit, null, false, component);
  }

  public static FragmentPersonAccountEditBinding bind(@NonNull View view) {
    return bind(view, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.bind(view, component)
   */
  @Deprecated
  public static FragmentPersonAccountEditBinding bind(@NonNull View view,
      @Nullable Object component) {
    return (FragmentPersonAccountEditBinding)bind(component, view, R.layout.fragment_person_account_edit);
  }
}
