kkozmic
03/15/2017, 10:00 PMinterface EventHandler<TData> {
fun onEvent(data: TData)
}
and I receive data
as Any?
(it's a generic dispatch) and an identifier so I know I picked the right event handler, how can I invoke the handler in a way that would compile? (given I can't just make an unchecked call the way I could in Java)?