An Anonymous inner class can extend exactly one class or can implement exactly one interface because the syntax of an anonymous inner class allows for only one named type after the new, and that type must be either a single interface (in which case the anonymous class implements that one interface) or a single class (in which case the anonymous class extends that one class).
Tuesday, 7 February 2012
Anonymous Innerclass in Java
An Anonymous inner class can extend exactly one class or can implement exactly one interface because the syntax of an anonymous inner class allows for only one named type after the new, and that type must be either a single interface (in which case the anonymous class implements that one interface) or a single class (in which case the anonymous class extends that one class).
ListView
List View not recommended to have active components.
Because of Clicking on the active text box will pop up the software keyboard but this will resize the list, removing focus from the clicked element.