public interface TemplateListListener
Modifier and Type | Method and Description |
---|---|
void |
downloadingTemplateListFailed(Error error)
Gets called when downloading list of templates fails.
|
void |
downloadingTemplateListSucceeded(Template.TemplateFilter type,
int startIndex,
ArrayList<Template> templates,
int templatesCount)
Gets called when downloading list of templates succeeds.
|
void downloadingTemplateListSucceeded(Template.TemplateFilter type, int startIndex, ArrayList<Template> templates, int templatesCount)
type
- The filter chosen to download templates.startIndex
- Starting index of the template list.templates
- List of downloaded templates.templatesCount
- Number of all templates available on server.void downloadingTemplateListFailed(Error error)
error
- The error occurred while trying to download list of templates.