moveMediaItem

expect open fun moveMediaItem(currentIndex: Int, newIndex: Int)

Moves a media item from one index to another in the playlist.

Parameters

currentIndex

The current index of the media item to move.

newIndex

The new index for the media item.

actual open fun moveMediaItem(currentIndex: Int, newIndex: Int)
actual open fun moveMediaItem(currentIndex: Int, newIndex: Int)

Moves a media item from one index to another in the playlist.

Parameters

currentIndex

The current index of the media item to move.

newIndex

The new index for the media item.