Olá! Fiz as alterações na aula sobre butterknife e, quando mandei compilar apareceu a mensagem acima... o arquivo que mostram é o MainActivity$$ViewBinder. É algo que foi gerado automaticamente então não faço ideia do porquê da mensagem... Alguém faz ideia? Deve ser até simples de resolver... Agradeço desde já!
// Generated code from Butter Knife. Do not modify!
package br.com.techcaicara.ichat_alura.Activities;
import android.view.View;
import br.com.techcaicara.ichat_alura.Activities;
import butterknife.Unbinder;
import butterknife.internal.DebouncingOnClickListener;
import butterknife.internal.Finder;
import butterknife.internal.ViewBinder;
import java.lang.IllegalStateException;
import java.lang.Object;
import java.lang.Override;
public class MainActivity$$ViewBinder<T extends Activities.MainActivity> implements ViewBinder<T> {
@Override
public Unbinder bind(final Finder finder, final T target, Object source) {
InnerUnbinder unbinder = createUnbinder(target);
View view;
view = finder.findRequiredView(source, 2131427413, "field 'button' and method 'enviarMensagem'");
target.button = finder.castView(view, 2131427413, "field 'button'");
unbinder.view2131427413 = view;
view.setOnClickListener(new DebouncingOnClickListener() {
@Override
public void doClick(View p0) {
target.enviarMensagem();
}
});
view = finder.findRequiredView(source, 2131427412, "field 'editText'");
target.editText = finder.castView(view, 2131427412, "field 'editText'");
view = finder.findRequiredView(source, 2131427414, "field 'listaDeMensagens'");
target.listaDeMensagens = finder.castView(view, 2131427414, "field 'listaDeMensagens'");
return unbinder;
}
protected InnerUnbinder<T> createUnbinder(T target) {
return new InnerUnbinder(target);
}
protected static class InnerUnbinder<T extends Activities.MainActivity> implements Unbinder {
private T target;
View view2131427413;
protected InnerUnbinder(T target) {
this.target = target;
}
@Override
public final void unbind() {
if (target == null) throw new IllegalStateException("Bindings already cleared.");
unbind(target);
target = null;
}
protected void unbind(T target) {
view2131427413.setOnClickListener(null);
target.button = null;
target.editText = null;
target.listaDeMensagens = null;
}
}
}