Range

constructor(@IntRange(from = 0) position: Int, @IntRange(from = 0) length: Int)

Creates a range.

Parameters

position

Position at which to start the range.

length

Length of the range.


constructor(source: Parcel)

Creates a Range object from the provided parcel.

Parameters

source

Parcel to use for extracting range object.