// 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.appcompat.widget.AppCompatImageView;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.CourseDiscussionEditPresenter;
import com.ustadmobile.core.util.OneToManyJoinEditListener;
import com.ustadmobile.lib.db.entities.DiscussionTopic;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemDiscussionEditTopicBinding extends ViewDataBinding {
  @NonNull
  public final TextView itemScheduleLine1Text;

  @NonNull
  public final TextView itemScheduleLine2Text;

  @NonNull
  public final AppCompatImageView itemScheduleSecondaryMenuImageview;

  @Bindable
  protected DiscussionTopic mDiscussionTopic;

  @Bindable
  protected CourseDiscussionEditPresenter mMPresenter;

  @Bindable
  protected OneToManyJoinEditListener<DiscussionTopic> mOneToManyJoinListener;

  protected ItemDiscussionEditTopicBinding(Object _bindingComponent, View _root,
      int _localFieldCount, TextView itemScheduleLine1Text, TextView itemScheduleLine2Text,
      AppCompatImageView itemScheduleSecondaryMenuImageview) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemScheduleLine1Text = itemScheduleLine1Text;
    this.itemScheduleLine2Text = itemScheduleLine2Text;
    this.itemScheduleSecondaryMenuImageview = itemScheduleSecondaryMenuImageview;
  }

  public abstract void setDiscussionTopic(@Nullable DiscussionTopic discussionTopic);

  @Nullable
  public DiscussionTopic getDiscussionTopic() {
    return mDiscussionTopic;
  }

  public abstract void setMPresenter(@Nullable CourseDiscussionEditPresenter mPresenter);

  @Nullable
  public CourseDiscussionEditPresenter getMPresenter() {
    return mMPresenter;
  }

  public abstract void setOneToManyJoinListener(
      @Nullable OneToManyJoinEditListener<DiscussionTopic> oneToManyJoinListener);

  @Nullable
  public OneToManyJoinEditListener<DiscussionTopic> getOneToManyJoinListener() {
    return mOneToManyJoinListener;
  }

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

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

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