// 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.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.google.android.material.button.MaterialButton;
import com.toughra.ustadmobile.R;
import com.ustadmobile.port.android.view.ClazzDetailOverviewEventListener;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemCourseDetailDownloadBinding extends ViewDataBinding {
  @NonNull
  public final MaterialButton itemCourseDownloadAllButton;

  @NonNull
  public final MaterialButton itemCoursePermissionsButton;

  @NonNull
  public final MaterialButton itemCourseShareButton;

  @Bindable
  protected ClazzDetailOverviewEventListener mFragmentEventHandler;

  @Bindable
  protected boolean mPermissionButtonVisible;

  protected ItemCourseDetailDownloadBinding(Object _bindingComponent, View _root,
      int _localFieldCount, MaterialButton itemCourseDownloadAllButton,
      MaterialButton itemCoursePermissionsButton, MaterialButton itemCourseShareButton) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemCourseDownloadAllButton = itemCourseDownloadAllButton;
    this.itemCoursePermissionsButton = itemCoursePermissionsButton;
    this.itemCourseShareButton = itemCourseShareButton;
  }

  public abstract void setFragmentEventHandler(
      @Nullable ClazzDetailOverviewEventListener fragmentEventHandler);

  @Nullable
  public ClazzDetailOverviewEventListener getFragmentEventHandler() {
    return mFragmentEventHandler;
  }

  public abstract void setPermissionButtonVisible(boolean permissionButtonVisible);

  public boolean getPermissionButtonVisible() {
    return mPermissionButtonVisible;
  }

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

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

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