ivano
03/20/2019, 1:54 PMkarelpeeters
03/20/2019, 1:56 PMwhen(a to b) {
true to false -> ...
false to true -> ...
}
Basically creating temporary `Pair`s and checking those for equality.ivano
03/20/2019, 2:01 PMivano
03/20/2019, 2:01 PMwhen (Pair(notification.module!!, notification.action!!)) {
Pair("01", NotificationAction.ASSESS) -> showInvoiceBy(notification)
Pair("03", NotificationAction.ASSESS) -> showOrderBy(notification)
//TODO: next tickets
else -> {
}
}
karelpeeters
03/20/2019, 2:02 PMivano
03/20/2019, 2:08 PMkarelpeeters
03/20/2019, 2:10 PMivano
03/20/2019, 2:17 PMivano
03/20/2019, 2:21 PMivano
03/20/2019, 2:21 PMivano
03/20/2019, 2:22 PM