get All Templates As Flow
fun getAllTemplatesAsFlow( context: Context, categoryUUID: String? = null, searchKeyword: String? = null): Flow<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 Flow 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