withoutclass
02/05/2018, 4:21 PMdave08
02/07/2018, 9:51 AMwithoutclass
02/07/2018, 4:16 PMdave08
02/07/2018, 4:18 PMwithoutclass
02/07/2018, 4:19 PMwithoutclass
02/07/2018, 4:19 PMwithoutclass
02/07/2018, 4:20 PMwithoutclass
02/07/2018, 4:20 PMwithoutclass
02/07/2018, 4:24 PMwithoutclass
02/07/2018, 4:25 PMsealed class
for my eventsdave08
02/07/2018, 4:25 PMwithoutclass
02/07/2018, 4:26 PMdave08
02/07/2018, 4:27 PMsealed class
? A click is simply Unit
, etc... like RxBinding lib?withoutclass
02/07/2018, 4:29 PMsealed class
like OnClick(). It has sub objects like object PositiveButton: OnClick()
etc. So I have a handful of generic events that are easy and readable to pass in a channel, and clearly define what type of action occurred.withoutclass
02/07/2018, 4:30 PMPositiveButton
click event, expect presenter channel to return some expected eventdave08
02/07/2018, 4:36 PMval onSubmitRequest: ReceiveChannel<RegistrationRequest>()
...dave08
02/07/2018, 4:37 PMwithoutclass
02/07/2018, 4:40 PMwithoutclass
02/07/2018, 4:42 PM