Davor Maric
05/15/2018, 12:24 PM<X>
stand for? It always confused me..Andreas Sinz
05/15/2018, 1:01 PMX
is a generic type https://kotlinlang.org/docs/reference/generics.htmlDavor Maric
05/15/2018, 1:24 PMfun <T> singletonList(item: T): List<T> { // ... }
same as this fun singletonList(item: T): List<T> { // ... }
araqnid
05/15/2018, 2:28 PMDavor Maric
05/15/2018, 2:47 PMaraqnid
05/15/2018, 3:29 PM