What is best and optimal way to remove all element...
# android
c
What is best and optimal way to remove all elements but not first element in kotlin mutable list ?
e
.subList(1).clear()
1
👍🏻 1
👍 2
❤️ 4