remove

fun remove(item: T): Boolean

Removes the first occurrence of the specified item from the observable list, if it is present. If the list changes, observers will be notified.

Return

true if the list contained the specified element

Parameters

item

The item to be removed from the list.