tripkit-android / com.skedgo.tripkit.common.util / AbstractObjectPool / newObject

newObject

protected open fun newObject(): T

By default, attempts to invoke a no-arg constructor on class T.

Subclasses should override to implement additional logic

Return T: a new instance of type T