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