Interface CPListTemplateDelegate


  • public interface CPListTemplateDelegate
    • Method Detail

      • listTemplateDidSelectListItemCompletionHandler

        void listTemplateDidSelectListItemCompletionHandler​(CPListTemplate listTemplate,
                                                            CPListItem item,
                                                            CPListTemplateDelegate.Block_listTemplateDidSelectListItemCompletionHandler completionHandler)
        The user has selected an item in the list template. Your app has an opportunity to perform any necessary operations to prepare for completing this item selection. The list template will display a spinner after a short delay. You must call the completion block after your app has finished loading and updated its UI.
        Parameters:
        listTemplate - The list template containing this item
        item - The item selected by the user
        completionHandler - A completion block you must call after you have updated your UI.