You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for adding and removing items from immutablelist is unclear:
From the docs
Note: you need to import these operators from kotlinx.collections.immutable package in order for them to take the precedence over the ones from the standard library.
import kotlinx.collections.immutable.*
A lot of people don't use * in there imports and instead use the actual import, can the documentation be updated to reflect this.
Currently if i use + or - on an immutableList I get returned a List not an immutableList. it would be good if the documentation could be updated to show how I can use + or - to return an ImmutableList
Oh and thanks for creating this library :)
The text was updated successfully, but these errors were encountered:
The documentation for adding and removing items from immutablelist is unclear:
From the docs
Note: you need to import these operators from kotlinx.collections.immutable package in order for them to take the precedence over the ones from the standard library.
import kotlinx.collections.immutable.*
A lot of people don't use * in there imports and instead use the actual import, can the documentation be updated to reflect this.
Currently if i use + or - on an immutableList I get returned a List not an immutableList. it would be good if the documentation could be updated to show how I can use + or - to return an ImmutableList
Oh and thanks for creating this library :)
The text was updated successfully, but these errors were encountered: