Design Pattern

//Design Pattern

Understanding listener with real life example

Sakif Shahriar: button.setOnClickListener(new View.OnClickListener) Sakif Shahriar: { Sakif Shahriar: //code Sakif Shahriar: } Sakif Shahriar: =)) Sakif Shahriar: what happened here? Sakif Shahriar: explain regarding OOP kowser: when button will be clicked kowser: it will notify to listener kowser: our listener will be able to listen Sakif Shahriar: button class got "setOnclick" method Sakif Shahriar: [...]

By | 2012-07-04T22:19:17+00:00 July 4th, 2012|Design Pattern|1 Comment