loadView

fun loadView(context: Context, layoutResId: Int, onError: (Exception) -> Unit? = null, onLoaded: (instance: RenderableInstance, view: View) -> Unit? = null)