Thanks to visit codestin.com Credit goes to kotlinlang.org
Replaces the element at the specified position in this list with the specified element.
the element previously at the specified position.
Thanks for your feedback!