convertOldPositionToNew

open fun convertOldPositionToNew(@IntRange(from = 0) oldListPosition: Int): Int(source)

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

Return

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

Parameters

oldListPosition

Position of item in old list

See also