// 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 androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.widget.NestedScrollView;
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.Language;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class FragmentLanguageEditBinding extends ViewDataBinding {
  @NonNull
  public final ConstraintLayout fragmentLanguageEditEditClx;

  @NonNull
  public final NestedScrollView fragmentLanguageEditEditScroll;

  @NonNull
  public final TextInputEditText langEditNameText;

  @NonNull
  public final TextInputLayout langEditNameTextinput;

  @NonNull
  public final TextInputEditText langEditThreecodeText;

  @NonNull
  public final TextInputLayout langEditThreecodeTextinput;

  @NonNull
  public final TextInputEditText langEditTwocodeText;

  @NonNull
  public final TextInputLayout langEditTwocodeTextinput;

  @Bindable
  protected Language mLanguage;

  @Bindable
  protected boolean mLoading;

  @Bindable
  protected boolean mFieldsEnabled;

  @Bindable
  protected String mLangNameError;

  protected FragmentLanguageEditBinding(Object _bindingComponent, View _root, int _localFieldCount,
      ConstraintLayout fragmentLanguageEditEditClx, NestedScrollView fragmentLanguageEditEditScroll,
      TextInputEditText langEditNameText, TextInputLayout langEditNameTextinput,
      TextInputEditText langEditThreecodeText, TextInputLayout langEditThreecodeTextinput,
      TextInputEditText langEditTwocodeText, TextInputLayout langEditTwocodeTextinput) {
    super(_bindingComponent, _root, _localFieldCount);
    this.fragmentLanguageEditEditClx = fragmentLanguageEditEditClx;
    this.fragmentLanguageEditEditScroll = fragmentLanguageEditEditScroll;
    this.langEditNameText = langEditNameText;
    this.langEditNameTextinput = langEditNameTextinput;
    this.langEditThreecodeText = langEditThreecodeText;
    this.langEditThreecodeTextinput = langEditThreecodeTextinput;
    this.langEditTwocodeText = langEditTwocodeText;
    this.langEditTwocodeTextinput = langEditTwocodeTextinput;
  }

  public abstract void setLanguage(@Nullable Language language);

  @Nullable
  public Language getLanguage() {
    return mLanguage;
  }

  public abstract void setLoading(boolean loading);

  public boolean getLoading() {
    return mLoading;
  }

  public abstract void setFieldsEnabled(boolean fieldsEnabled);

  public boolean getFieldsEnabled() {
    return mFieldsEnabled;
  }

  public abstract void setLangNameError(@Nullable String langNameError);

  @Nullable
  public String getLangNameError() {
    return mLangNameError;
  }

  @NonNull
  public static FragmentLanguageEditBinding 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_language_edit, root, attachToRoot, component)
   */
  @NonNull
  @Deprecated
  public static FragmentLanguageEditBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot, @Nullable Object component) {
    return ViewDataBinding.<FragmentLanguageEditBinding>inflateInternal(inflater, R.layout.fragment_language_edit, root, attachToRoot, component);
  }

  @NonNull
  public static FragmentLanguageEditBinding 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_language_edit, null, false, component)
   */
  @NonNull
  @Deprecated
  public static FragmentLanguageEditBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable Object component) {
    return ViewDataBinding.<FragmentLanguageEditBinding>inflateInternal(inflater, R.layout.fragment_language_edit, null, false, component);
  }

  public static FragmentLanguageEditBinding 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 FragmentLanguageEditBinding bind(@NonNull View view, @Nullable Object component) {
    return (FragmentLanguageEditBinding)bind(component, view, R.layout.fragment_language_edit);
  }
}
