Tomek Polański
1 min readJan 9, 2018

--

Great that you like it!

When trying out the code, you had to copy the Compare interface. Can you check if there is in keyword in the declaration? Something like this

interface Compare<in T> {
fun compare(first: T, second: T): Int
}

Cheers,

Tomek

--

--

Tomek Polański
Tomek Polański

Written by Tomek Polański

Passionate mobile developer. One thing I like more than learning new things: sharing them

No responses yet