Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19763

iOS: Support item-specific peek for previewContext on ListView

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.1.0, Release 5.2.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      SDK 5.1.0

    • Sprint:
      2015 Sprint 22 SDK

      Description

      Our current implementation of Ti.UI.iOS.PreviewContext.preview does not allow you to render a specific preview for a list item / row when used with ListView.previewContext or the same property for TableView. This is because the view must be created when you create the previewContext object.

      The wrapped UIPreviewAction has a handler handler to construct the view when it is actually required. It seems like we should make our preview property a callback as well that receives the section and item index/id and either returns a view directly or via another callback passed to it.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              fokkezb Fokke Zandbergen
              Reviewer:
              Pedro Enrique (Inactive)
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code