get All Templates As Live Data
fun getAllTemplatesAsLiveData( context: Context, categoryUUID: String? = null, searchKeyword: String? = null): LiveData<List<STWTemplate>?>
Content copied to clipboard
Gets the full list of templates that matching the keyword.
Empty categoryUUID will return the full list of templates present in all categories.
Empty keyWord will return the full list of templates.
Return
The LiveData for List of STWTemplate found.
Parameters
context
**Context** The application context.Content copied to clipboard
category UUID
**String** the category uuidContent copied to clipboard
search Keyword
**String : ** to get only templates with name
containing this keyword, put empty string to get all templatesContent copied to clipboard