android - Why we need to place Semicolon manually after this.. View -
why need place semicolon manually? after this
anyview.setonclicklistener(new view.onclicklistener(){ @override public void onclick(){ //do here } }) /// here error if not place semicolon ... why eclips not placing ; here? }
i want make concept clear....
you need semicolon complete anyview.setonclicklistener()
statement. of time, eclipse not automatically complete code statements - cannot read mind code intended write.
what can confusing argument setonclicklistner()
anonymous inner class instance created inline , syntax mixture of class definition , method calling.
Comments
Post a Comment