convertNewPositionToOld

open fun convertNewPositionToOld(@IntRange(from = 0) newListPosition: Int): Int(source)

Given a position in the new list, returns the position in the old list, or NO_POSITION if it was removed.

Return

Position of item in old list, or NO_POSITION if not present.

Parameters

newListPosition

Position of item in new list

See also