Last active
September 17, 2017 05:43
-
-
Save ShikherVerma/5b4031f673fccb3f9b2b4bfc3ea58544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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