Sam
09/16/2019, 9:29 AMListener, but I only want to implement one or two methods, not all of methods.
So what should I need to change ?
ThanksEfe
09/16/2019, 9:31 AMMarek Osvald
09/16/2019, 9:31 AMinterface Listener {
fun onSubmitted(text: String) // mandatory
fun onClickedRightIcon() { } // optional
}Efe
09/16/2019, 9:31 AMSam
09/16/2019, 9:41 AMSam
09/16/2019, 9:41 AMfun onClickedRightIcon() { }?Efe
09/16/2019, 9:42 AMdewildte
09/16/2019, 12:37 PMby delegation of your adapter, but only override the functions it needs.Sam
09/16/2019, 12:53 PMby delegation of your adapter, but only override the functions it needs. (edited) ` => can you give me some example about that pattern ?rkeazor
09/16/2019, 1:01 PM