// 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.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.util.SortOrderOption;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemSortHeaderOptionBinding extends ViewDataBinding {
  @NonNull
  public final AppCompatImageView itemSortAscDesc;

  @NonNull
  public final ConstraintLayout itemSortSelectedLayout;

  @NonNull
  public final TextView itemSortSelectedText;

  @Bindable
  protected View.OnClickListener mOnClickSort;

  @Bindable
  protected SortOrderOption mSortOption;

  protected ItemSortHeaderOptionBinding(Object _bindingComponent, View _root, int _localFieldCount,
      AppCompatImageView itemSortAscDesc, ConstraintLayout itemSortSelectedLayout,
      TextView itemSortSelectedText) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemSortAscDesc = itemSortAscDesc;
    this.itemSortSelectedLayout = itemSortSelectedLayout;
    this.itemSortSelectedText = itemSortSelectedText;
  }

  public abstract void setOnClickSort(@Nullable View.OnClickListener onClickSort);

  @Nullable
  public View.OnClickListener getOnClickSort() {
    return mOnClickSort;
  }

  public abstract void setSortOption(@Nullable SortOrderOption sortOption);

  @Nullable
  public SortOrderOption getSortOption() {
    return mSortOption;
  }

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

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

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