Juan
04/22/2018, 7:35 PMif (list is ObservableList<Course>)
? it's displaying this error "Cannot check for instace of erased type: ObservableList<Course>"Czar
04/22/2018, 7:44 PM<Course>
part does not exist at runtime, due to JVM's generic type erasure, so the is
check is not possible.Juan
04/22/2018, 8:01 PMcygnus
04/22/2018, 8:14 PMcygnus
04/22/2018, 8:14 PMif(list.get(index=0) is Course)
Czar
04/22/2018, 8:14 PMclass ObservableListOfCourse(val value: ObservableList<Course>)
if (listWrapper is ObservableListOfCourse)
cygnus
04/22/2018, 8:15 PMcygnus
04/22/2018, 8:15 PMCzar
04/22/2018, 8:16 PMis
check.cygnus
04/22/2018, 8:16 PMCzar
04/22/2018, 8:32 PMCaleb Allen
04/22/2018, 9:38 PMis ObservableList<*>
Juan
04/22/2018, 10:14 PM