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 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.PositiveButton
click event, expect presenter channel to return some expected eventdave08
02/07/2018, 4:36 PMval onSubmitRequest: ReceiveChannel<RegistrationRequest>()
...withoutclass
02/07/2018, 4:40 PM