https://kotlinlang.org logo
#getting-started
Title
# getting-started
d

dathoang.se

03/18/2017, 3:28 PM
@richodemus Just cast it using the "as" operator, it's an upcast since MutableList inherits from List. If you're passing around, you don't even need to cast because the upcast is safe and it's done automatically