// 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.DiscussionPost;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class FragmentDiscussionPostEditBinding extends ViewDataBinding {
  @NonNull
  public final ConstraintLayout fragmentCourseDiscussionCourseBlockEditCl;

  @NonNull
  public final TextInputEditText fragmentCourseDiscussionCourseBlockEditDescTiet;

  @NonNull
  public final TextInputLayout fragmentCourseDiscussionCourseBlockEditDescTil;

  @NonNull
  public final TextInputEditText fragmentCourseDiscussionCourseBlockEditTitleTiet;

  @NonNull
  public final TextInputLayout fragmentCourseDiscussionCourseBlockEditTitleTil;

  @NonNull
  public final NestedScrollView fragmentLeavingReasonEditEditScroll;

  @Bindable
  protected DiscussionPost mDiscussionPost;

  @Bindable
  protected boolean mFieldsEnabled;

  @Bindable
  protected String mBlockTitleError;

  protected FragmentDiscussionPostEditBinding(Object _bindingComponent, View _root,
      int _localFieldCount, ConstraintLayout fragmentCourseDiscussionCourseBlockEditCl,
      TextInputEditText fragmentCourseDiscussionCourseBlockEditDescTiet,
      TextInputLayout fragmentCourseDiscussionCourseBlockEditDescTil,
      TextInputEditText fragmentCourseDiscussionCourseBlockEditTitleTiet,
      TextInputLayout fragmentCourseDiscussionCourseBlockEditTitleTil,
      NestedScrollView fragmentLeavingReasonEditEditScroll) {
    super(_bindingComponent, _root, _localFieldCount);
    this.fragmentCourseDiscussionCourseBlockEditCl = fragmentCourseDiscussionCourseBlockEditCl;
    this.fragmentCourseDiscussionCourseBlockEditDescTiet = fragmentCourseDiscussionCourseBlockEditDescTiet;
    this.fragmentCourseDiscussionCourseBlockEditDescTil = fragmentCourseDiscussionCourseBlockEditDescTil;
    this.fragmentCourseDiscussionCourseBlockEditTitleTiet = fragmentCourseDiscussionCourseBlockEditTitleTiet;
    this.fragmentCourseDiscussionCourseBlockEditTitleTil = fragmentCourseDiscussionCourseBlockEditTitleTil;
    this.fragmentLeavingReasonEditEditScroll = fragmentLeavingReasonEditEditScroll;
  }

  public abstract void setDiscussionPost(@Nullable DiscussionPost discussionPost);

  @Nullable
  public DiscussionPost getDiscussionPost() {
    return mDiscussionPost;
  }

  public abstract void setFieldsEnabled(boolean fieldsEnabled);

  public boolean getFieldsEnabled() {
    return mFieldsEnabled;
  }

  public abstract void setBlockTitleError(@Nullable String blockTitleError);

  @Nullable
  public String getBlockTitleError() {
    return mBlockTitleError;
  }

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

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

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