getTemplateCategoryByUUID

open fun getTemplateCategoryByUUID(@NonNull context: Context, @NonNull categoryUUID: String): TemplateCategoryItem

Gets a template category having the given categoryUUID. This method return null if the given categoryUUID is empty or the corresponding category is not found.

Return

TemplateCategoryItem: the category having the given UUID, or null if it is not found.

Parameters

context

Context The application context.

categoryUUID

String the category uuid