// 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.PersonListPresenter;
import com.ustadmobile.lib.db.entities.PersonWithDisplayDetails;
import com.ustadmobile.port.android.view.PersonListFragment;
import de.hdodenhof.circleimageview.CircleImageView;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemPersonListItemBinding extends ViewDataBinding {
  @NonNull
  public final TextView itemPersonLine2Text;

  @NonNull
  public final CircleImageView itemPersonNewitemicon;

  @NonNull
  public final TextView itemPersonText;

  @Bindable
  protected PersonWithDisplayDetails mPerson;

  @Bindable
  protected PersonListPresenter mPresenter;

  @Bindable
  protected PersonListFragment.PersonListRecyclerAdapter mSelectablePagedListAdapter;

  protected ItemPersonListItemBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextView itemPersonLine2Text, CircleImageView itemPersonNewitemicon,
      TextView itemPersonText) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemPersonLine2Text = itemPersonLine2Text;
    this.itemPersonNewitemicon = itemPersonNewitemicon;
    this.itemPersonText = itemPersonText;
  }

  public abstract void setPerson(@Nullable PersonWithDisplayDetails person);

  @Nullable
  public PersonWithDisplayDetails getPerson() {
    return mPerson;
  }

  public abstract void setPresenter(@Nullable PersonListPresenter presenter);

  @Nullable
  public PersonListPresenter getPresenter() {
    return mPresenter;
  }

  public abstract void setSelectablePagedListAdapter(
      @Nullable PersonListFragment.PersonListRecyclerAdapter selectablePagedListAdapter);

  @Nullable
  public PersonListFragment.PersonListRecyclerAdapter getSelectablePagedListAdapter() {
    return mSelectablePagedListAdapter;
  }

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

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

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