// 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.EditText;
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.port.android.view.OpenSheetListener;
import de.hdodenhof.circleimageview.CircleImageView;
import java.lang.Deprecated;
import java.lang.Object;
import java.lang.String;

public abstract class ItemCommentNewBinding extends ViewDataBinding {
  @NonNull
  public final ConstraintLayout itemCommentNewCl;

  @NonNull
  public final EditText itemCommentNewCommentEt;

  @NonNull
  public final CircleImageView itemCommentNewPersonIcon;

  @Bindable
  protected OpenSheetListener mOpenSheet;

  @Bindable
  protected boolean mPublicComment;

  @Bindable
  protected Long mPersonUid;

  @Bindable
  protected String mHintText;

  protected ItemCommentNewBinding(Object _bindingComponent, View _root, int _localFieldCount,
      ConstraintLayout itemCommentNewCl, EditText itemCommentNewCommentEt,
      CircleImageView itemCommentNewPersonIcon) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemCommentNewCl = itemCommentNewCl;
    this.itemCommentNewCommentEt = itemCommentNewCommentEt;
    this.itemCommentNewPersonIcon = itemCommentNewPersonIcon;
  }

  public abstract void setOpenSheet(@Nullable OpenSheetListener openSheet);

  @Nullable
  public OpenSheetListener getOpenSheet() {
    return mOpenSheet;
  }

  public abstract void setPublicComment(boolean publicComment);

  public boolean getPublicComment() {
    return mPublicComment;
  }

  public abstract void setPersonUid(@Nullable Long personUid);

  @Nullable
  public Long getPersonUid() {
    return mPersonUid;
  }

  public abstract void setHintText(@Nullable String hintText);

  @Nullable
  public String getHintText() {
    return mHintText;
  }

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

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

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