Function

mutableVectorOf

Creates an empty MutableVector with a capacity of 16.

mutableVectorOf

Source set: Common
public inline fun <reified T> mutableVectorOf(): MutableVector<T>

Creates an empty MutableVector with a capacity of 16.

mutableVectorOf

Source set: Common
public inline fun <reified T> mutableVectorOf(vararg elements: T): MutableVector<T>

Creates a MutableVector with the given values. This will use the passed vararg elements storage.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: