// 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.button.MaterialButton;
import com.google.android.material.textfield.TextInputLayout;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.JoinWithCodePresenter;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class FragmentJoinWithCodeBinding extends ViewDataBinding {
  @NonNull
  public final TextInputLayout codeInputTextinputlayout;

  @NonNull
  public final TextView instructionsText;

  @NonNull
  public final MaterialButton joinButton;

  @Bindable
  protected String mJoinCode;

  @Bindable
  protected String mErrorText;

  @Bindable
  protected String mEntityType;

  @Bindable
  protected boolean mButtonEnabled;

  @Bindable
  protected String mButtonLabel;

  @Bindable
  protected JoinWithCodePresenter mPresenter;

  protected FragmentJoinWithCodeBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextInputLayout codeInputTextinputlayout, TextView instructionsText,
      MaterialButton joinButton) {
    super(_bindingComponent, _root, _localFieldCount);
    this.codeInputTextinputlayout = codeInputTextinputlayout;
    this.instructionsText = instructionsText;
    this.joinButton = joinButton;
  }

  public abstract void setJoinCode(@Nullable String joinCode);

  @Nullable
  public String getJoinCode() {
    return mJoinCode;
  }

  public abstract void setErrorText(@Nullable String errorText);

  @Nullable
  public String getErrorText() {
    return mErrorText;
  }

  public abstract void setEntityType(@Nullable String entityType);

  @Nullable
  public String getEntityType() {
    return mEntityType;
  }

  public abstract void setButtonEnabled(boolean buttonEnabled);

  public boolean getButtonEnabled() {
    return mButtonEnabled;
  }

  public abstract void setButtonLabel(@Nullable String buttonLabel);

  @Nullable
  public String getButtonLabel() {
    return mButtonLabel;
  }

  public abstract void setPresenter(@Nullable JoinWithCodePresenter presenter);

  @Nullable
  public JoinWithCodePresenter getPresenter() {
    return mPresenter;
  }

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

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

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