// 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.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ChatDetailPresenter;
import com.ustadmobile.lib.db.entities.MessageWithPerson;
import de.hdodenhof.circleimageview.CircleImageView;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemMessageListBinding extends ViewDataBinding {
  @NonNull
  public final ConstraintLayout itemCommentsListCl;

  @NonNull
  public final TextView itemCommentsListLine2Text;

  @NonNull
  public final TextView itemCommentsListLine3Text;

  @NonNull
  public final TextView itemCommentsListText;

  @NonNull
  public final ConstraintLayout itemMessageListChatBubble;

  @NonNull
  public final CircleImageView itemMessageListPersonPic;

  @Bindable
  protected MessageWithPerson mMessage;

  @Bindable
  protected Long mLoggedInPersonUid;

  @Bindable
  protected ChatDetailPresenter mPresenter;

  protected ItemMessageListBinding(Object _bindingComponent, View _root, int _localFieldCount,
      ConstraintLayout itemCommentsListCl, TextView itemCommentsListLine2Text,
      TextView itemCommentsListLine3Text, TextView itemCommentsListText,
      ConstraintLayout itemMessageListChatBubble, CircleImageView itemMessageListPersonPic) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemCommentsListCl = itemCommentsListCl;
    this.itemCommentsListLine2Text = itemCommentsListLine2Text;
    this.itemCommentsListLine3Text = itemCommentsListLine3Text;
    this.itemCommentsListText = itemCommentsListText;
    this.itemMessageListChatBubble = itemMessageListChatBubble;
    this.itemMessageListPersonPic = itemMessageListPersonPic;
  }

  public abstract void setMessage(@Nullable MessageWithPerson message);

  @Nullable
  public MessageWithPerson getMessage() {
    return mMessage;
  }

  public abstract void setLoggedInPersonUid(@Nullable Long loggedInPersonUid);

  @Nullable
  public Long getLoggedInPersonUid() {
    return mLoggedInPersonUid;
  }

  public abstract void setPresenter(@Nullable ChatDetailPresenter presenter);

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

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

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

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