Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
public class MainActivity_ViewBinding implements Unbinder {
private MainActivity target;
@UiThread
public MainActivity_ViewBinding(MainActivity target) {
this(target, target.getWindow().getDecorView());
}
@UiThread
public MainActivity_ViewBinding(MainActivity target, View source) {
this.target = target;
target.myTextView = Utils.findRequiredViewAsType(source, R.id.my_text_view, "field 'myTextView'", TextView.class);
}
@Override
@CallSuper
public void unbind() {
...
this.target = null;
target.myTextView = null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment