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

Android: Modify ScrollableView.removeView() to support integer indexes

    Details

    • Story Points:
      1
    • Sprint:
      2018 Sprint 05 SDK, 2018 Sprint 04 SDK

      Description

      Feature

      On iOS, ScrollableView's "removeView" method accepts either a view or an index to a view. Android only supports passing in a view.

      Solution

      We need to either remove the undocumented feature from iOS, or add it to Android and to the documentation.

      How To Reproduce

      Drop the following in an app.js. If you get a modal error screen or an error in the log, the feature is not present. If you don't, then everything is working as it should.

      app.js

      Ti.UI.createScrollableView({
          views: [ Ti.UI.createView() ]
      }).removeView(0);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                dtoth Dawson Toth
                Reviewer:
                Gary Mathews
              • Watchers:
                8 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