get Template By Name
open fun getTemplateByName(@NonNull context: Context, @NonNull templateName: String): TemplateItem
Content copied to clipboard
Gets a template having the given template name. This method return null if the given name is empty or the corresponding template is not found.
Return
TemplateCategoryItem: the category having the given categoryName, or null if it is not found.
Parameters
context
Context The application context.
template Name
String the template name