addAll

open fun addAll(newVideos: Collection<Video>)

Add all videos in the collection to the end of the list.

Parameters

newVideos

The videos to append.


open fun addAll(index: Int, newVideos: Collection<Video>)

Inserts all videos in the collection at the specified index.

Parameters

index
newVideos

The videos to append.

Throws

when index <0 or index is larger than the size of the video list.