// 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 androidx.recyclerview.widget.RecyclerView;
import com.toughra.ustadmobile.R;
import com.ustadmobile.lib.db.entities.ScopedGrant;
import com.ustadmobile.port.android.view.ScopedGrantEditFragmentEventHandler;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class FragmentScopedGrantEditBinding extends ViewDataBinding {
  @NonNull
  public final RecyclerView fragmentScopedGrantEditRecyclerView;

  @Bindable
  protected ScopedGrant mScopedGrant;

  @Bindable
  protected boolean mLoading;

  @Bindable
  protected boolean mFieldsEnabled;

  @Bindable
  protected ScopedGrantEditFragmentEventHandler mActivityEventHandler;

  protected FragmentScopedGrantEditBinding(Object _bindingComponent, View _root,
      int _localFieldCount, RecyclerView fragmentScopedGrantEditRecyclerView) {
    super(_bindingComponent, _root, _localFieldCount);
    this.fragmentScopedGrantEditRecyclerView = fragmentScopedGrantEditRecyclerView;
  }

  public abstract void setScopedGrant(@Nullable ScopedGrant scopedGrant);

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

  public abstract void setLoading(boolean loading);

  public boolean getLoading() {
    return mLoading;
  }

  public abstract void setFieldsEnabled(boolean fieldsEnabled);

  public boolean getFieldsEnabled() {
    return mFieldsEnabled;
  }

  public abstract void setActivityEventHandler(
      @Nullable ScopedGrantEditFragmentEventHandler activityEventHandler);

  @Nullable
  public ScopedGrantEditFragmentEventHandler getActivityEventHandler() {
    return mActivityEventHandler;
  }

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

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

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