createView

fun createView(    templateType: String,     context: Context,     forceToWebView: Boolean = false): TemplateView

Return

appropriate TemplateView object which is determined by templateType

Parameters

forceToWebView

: If it is true, WebView always be returned. Set this 'true' if you want template as a webView.