// 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.Button;
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.toughra.ustadmobile.R;
import com.ustadmobile.lib.db.entities.ClazzAssignmentWithCourseBlock;
import com.ustadmobile.port.android.view.ClazzAssignmentDetailOverviewFragmentEventHandler;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemAssignmentFileSubmissionBottomBinding extends ViewDataBinding {
  @NonNull
  public final TextView itemFileMaxNumber;

  @NonNull
  public final TextView itemFileTypeLabel;

  @NonNull
  public final TextView itemFileTypeSelection;

  @NonNull
  public final Button submissionAddFileButton;

  @NonNull
  public final Button submissionAddTextButton;

  @Bindable
  protected ClazzAssignmentWithCourseBlock mAssignment;

  @Bindable
  protected Boolean mDeadlinePassed;

  @Bindable
  protected Boolean mAddFileVisible;

  @Bindable
  protected Boolean mAddTextVisible;

  @Bindable
  protected ClazzAssignmentDetailOverviewFragmentEventHandler mEventHandler;

  protected ItemAssignmentFileSubmissionBottomBinding(Object _bindingComponent, View _root,
      int _localFieldCount, TextView itemFileMaxNumber, TextView itemFileTypeLabel,
      TextView itemFileTypeSelection, Button submissionAddFileButton,
      Button submissionAddTextButton) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemFileMaxNumber = itemFileMaxNumber;
    this.itemFileTypeLabel = itemFileTypeLabel;
    this.itemFileTypeSelection = itemFileTypeSelection;
    this.submissionAddFileButton = submissionAddFileButton;
    this.submissionAddTextButton = submissionAddTextButton;
  }

  public abstract void setAssignment(@Nullable ClazzAssignmentWithCourseBlock assignment);

  @Nullable
  public ClazzAssignmentWithCourseBlock getAssignment() {
    return mAssignment;
  }

  public abstract void setDeadlinePassed(@Nullable Boolean deadlinePassed);

  @Nullable
  public Boolean getDeadlinePassed() {
    return mDeadlinePassed;
  }

  public abstract void setAddFileVisible(@Nullable Boolean addFileVisible);

  @Nullable
  public Boolean getAddFileVisible() {
    return mAddFileVisible;
  }

  public abstract void setAddTextVisible(@Nullable Boolean addTextVisible);

  @Nullable
  public Boolean getAddTextVisible() {
    return mAddTextVisible;
  }

  public abstract void setEventHandler(
      @Nullable ClazzAssignmentDetailOverviewFragmentEventHandler eventHandler);

  @Nullable
  public ClazzAssignmentDetailOverviewFragmentEventHandler getEventHandler() {
    return mEventHandler;
  }

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

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

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