// Generated by data binding compiler. Do not edit!
package hanson.xyz.vpnhotspotmod.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 hanson.xyz.vpnhotspotmod.R;
import hanson.xyz.vpnhotspotmod.client.Client;
import hanson.xyz.vpnhotspotmod.client.ClientsFragment;
import hanson.xyz.vpnhotspotmod.widget.AutoCollapseTextView;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ListitemClientBinding extends ViewDataBinding {
  @NonNull
  public final AutoCollapseTextView description;

  @Bindable
  protected Client mClient;

  @Bindable
  protected ClientsFragment.TrafficRate mRate;

  protected ListitemClientBinding(Object _bindingComponent, View _root, int _localFieldCount,
      AutoCollapseTextView description) {
    super(_bindingComponent, _root, _localFieldCount);
    this.description = description;
  }

  public abstract void setClient(@Nullable Client client);

  @Nullable
  public Client getClient() {
    return mClient;
  }

  public abstract void setRate(@Nullable ClientsFragment.TrafficRate rate);

  @Nullable
  public ClientsFragment.TrafficRate getRate() {
    return mRate;
  }

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

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

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