Skip to content

Instantly share code, notes, and snippets.

@ShikherVerma
Last active September 17, 2017 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShikherVerma/5b4031f673fccb3f9b2b4bfc3ea58544 to your computer and use it in GitHub Desktop.
Save ShikherVerma/5b4031f673fccb3f9b2b4bfc3ea58544 to your computer and use it in GitHub Desktop.
package com.shikherverma.sampleapplication;
import android.support.annotation.CallSuper;
import android.support.annotation.UiThread;
import android.view.View;
import android.widget.TextView;
import butterknife.Unbinder;
import butterknife.internal.DebouncingOnClickListener;
import butterknife.internal.Utils;
import java.lang.IllegalStateException;
import java.lang.Override;
public class MainActivity_ViewBinding implements Unbinder {
private MainActivity target;
private View view2131165193;
@UiThread
public MainActivity_ViewBinding(MainActivity target) {
this(target, target.getWindow().getDecorView());
}
@UiThread
public MainActivity_ViewBinding(final MainActivity target, View source) {
this.target = target;
View view;
target.text = Utils.findRequiredViewAsType(source, R.id.text, "field 'text'", TextView.class);
view = Utils.findRequiredView(source, R.id.button, "method 'onButtonClick'");
view2131165193 = view;
view.setOnClickListener(new DebouncingOnClickListener() {
@Override
public void doClick(View p0) {
target.onButtonClick(p0);
}
});
}
@Override
@CallSuper
public void unbind() {
MainActivity target = this.target;
if (target == null) throw new IllegalStateException("Bindings already cleared.");
this.target = null;
target.text = null;
view2131165193.setOnClickListener(null);
view2131165193 = null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment