I have a question about handling click event of button. I have already read this article
I know the difference by code, styling, readable... But I do not know the difference about performance in these two ways:
The first way:
buttonA.setOnClickListener(this).
The second way:
buttonB.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // To do something } });
Has anyone found out this?