setCurrentResource

fun setCurrentResource(currentResource: Resource): Int(source)

Sets the current index and resource without calling the event listeners.