// Generated by data binding compiler. Do not edit!
package com.mastercoding.chatapp.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 com.mastercoding.chatapp.R;
import com.mastercoding.chatapp.model.ChatMessage;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class RowChatBinding extends ViewDataBinding {
  @Bindable
  protected ChatMessage mChatMessage;

  protected RowChatBinding(Object _bindingComponent, View _root, int _localFieldCount) {
    super(_bindingComponent, _root, _localFieldCount);
  }

  public abstract void setChatMessage(@Nullable ChatMessage chatMessage);

  @Nullable
  public ChatMessage getChatMessage() {
    return mChatMessage;
  }

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

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

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