One stupid question is running on my mind.
In Android, every time an OnClickListener or an event is generated i.e. an autostub is generated after the event,
we have to manually keep the semicolon after the ).
What is the reason behind that? Why is Android SDK not directly keeping the semicolon?
texthome.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
}
}***);***
Just asked so as to clear the concepts. Thanks in advance :)