nathan
10/13/2020, 4:18 AMEsa
10/13/2020, 7:19 AMTobias Berger
10/13/2020, 7:43 AMlistOf
and mutableListOf
are the same actual type in most cases (except empty lists). They mostly just use standard ArrayList.
• The differend generics bounds can unexpectedly mess up some Platform calls or apt/kapt-based code generation. So remember: the direct equivalent of a Java List is a Kotlin MutableList.nathan
10/14/2020, 12:15 AMnathan
10/14/2020, 12:15 AM