addAll

abstract fun addAll(videos: Collection<Video>)

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

Parameters

videos

The videos to append.


abstract fun addAll(index: Int, videos: Collection<Video>)

Inserts all videos in the collection at the specified index.

Throws

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