// 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.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ScopedGrantListItemListener;
import com.ustadmobile.core.model.BitmaskMessageId;
import com.ustadmobile.lib.db.entities.ScopedGrantWithName;
import com.ustadmobile.port.android.view.ScopedGrantListRecyclerAdapter;
import java.lang.Deprecated;
import java.lang.Object;
import java.util.List;

public abstract class ItemScopedGrantListBinding extends ViewDataBinding {
  @NonNull
  public final TextView line1Text;

  @NonNull
  public final TextView line2Text;

  @Bindable
  protected ScopedGrantWithName mScopedGrant;

  @Bindable
  protected ScopedGrantListItemListener mItemListener;

  @Bindable
  protected ScopedGrantListRecyclerAdapter mSelectablePagedListAdapter;

  @Bindable
  protected List<BitmaskMessageId> mScopedGrantFlagMessageIds;

  protected ItemScopedGrantListBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextView line1Text, TextView line2Text) {
    super(_bindingComponent, _root, _localFieldCount);
    this.line1Text = line1Text;
    this.line2Text = line2Text;
  }

  public abstract void setScopedGrant(@Nullable ScopedGrantWithName scopedGrant);

  @Nullable
  public ScopedGrantWithName getScopedGrant() {
    return mScopedGrant;
  }

  public abstract void setItemListener(@Nullable ScopedGrantListItemListener itemListener);

  @Nullable
  public ScopedGrantListItemListener getItemListener() {
    return mItemListener;
  }

  public abstract void setSelectablePagedListAdapter(
      @Nullable ScopedGrantListRecyclerAdapter selectablePagedListAdapter);

  @Nullable
  public ScopedGrantListRecyclerAdapter getSelectablePagedListAdapter() {
    return mSelectablePagedListAdapter;
  }

  public abstract void setScopedGrantFlagMessageIds(
      @Nullable List<BitmaskMessageId> scopedGrantFlagMessageIds);

  @Nullable
  public List<BitmaskMessageId> getScopedGrantFlagMessageIds() {
    return mScopedGrantFlagMessageIds;
  }

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

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

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