// 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.ImageView;
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.lib.db.entities.DiscussionPostWithDetails;
import de.hdodenhof.circleimageview.CircleImageView;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemDiscussionPostDetailBinding extends ViewDataBinding {
  @NonNull
  public final ImageView imageView2;

  @NonNull
  public final TextView itemDiscussionPostDetailLatestMessage;

  @NonNull
  public final TextView itemDiscussionPostListDetailPostTitle;

  @NonNull
  public final TextView itemDiscussionPostListDetailSenderPersonName;

  @NonNull
  public final CircleImageView itemDiscussionPostListDetailSenderPersonPic;

  @NonNull
  public final TextView itemDiscussionPostListDetailTimestamp;

  @Bindable
  protected DiscussionPostWithDetails mDiscussionPost;

  protected ItemDiscussionPostDetailBinding(Object _bindingComponent, View _root,
      int _localFieldCount, ImageView imageView2, TextView itemDiscussionPostDetailLatestMessage,
      TextView itemDiscussionPostListDetailPostTitle,
      TextView itemDiscussionPostListDetailSenderPersonName,
      CircleImageView itemDiscussionPostListDetailSenderPersonPic,
      TextView itemDiscussionPostListDetailTimestamp) {
    super(_bindingComponent, _root, _localFieldCount);
    this.imageView2 = imageView2;
    this.itemDiscussionPostDetailLatestMessage = itemDiscussionPostDetailLatestMessage;
    this.itemDiscussionPostListDetailPostTitle = itemDiscussionPostListDetailPostTitle;
    this.itemDiscussionPostListDetailSenderPersonName = itemDiscussionPostListDetailSenderPersonName;
    this.itemDiscussionPostListDetailSenderPersonPic = itemDiscussionPostListDetailSenderPersonPic;
    this.itemDiscussionPostListDetailTimestamp = itemDiscussionPostListDetailTimestamp;
  }

  public abstract void setDiscussionPost(@Nullable DiscussionPostWithDetails discussionPost);

  @Nullable
  public DiscussionPostWithDetails getDiscussionPost() {
    return mDiscussionPost;
  }

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

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

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