addNewItems
Add only new items to MutableList.
Example:
val list = mutableListOf(1..5)
list.addNewItems(3..8) // [1, 2, 3, 4, 5, 6, 7, 8]
Content copied to clipboard
Since
1.1.0
See also
Add only new items to ArrayList.
Example:
val list = arrayListOf(1..5)
list.addNewItems(3..8) // [1, 2, 3, 4, 5, 6, 7, 8]
Content copied to clipboard
Since
1.1.0