Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11651] BlackBerry: Implement removeAllChildren on Views

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2014-05-08T17:31:38.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sRelease 3.3.0
ComponentsBlackBerry
Labelsbb33, module_view, parity, qe-closed-3.3.0, qe-testadded
ReporterSabil Rahim
AssigneePedro Enrique
Created2012-11-02T17:05:47.000+0000
Updated2014-05-12T06:58:46.000+0000

Description

Comments

  1. Bryan Hughes 2012-11-02

    This needs to be split into two tickets: one for mobile web and one for blackberry since they will be resolved at different times.
  2. Russell McMahon 2013-01-25

    Josh is working on removing views while hooking up the new layout engine
  3. Arthur Evans 2013-01-25

    Split ticket.
  4. Pedro Enrique 2014-05-08

    Test code for SDK 3.3.0
       var win = Titanium.UI.createWindow({  
          backgroundColor:'#fff'
       });
       
       var x = 0;
       for(var i = 0; i < 10; i++) {
         win.add(Ti.UI.createButton({
           top: x,
           title: 'button #'+(i+1)
         }));
         x += 40
       }
       
       var btn = Ti.UI.createButton({
         bottom: 0,
         title: 'remove all'
       });
       win.add(btn);
       btn.addEventListener('click', function(){
         win.removeAllChildren();
       });
       win.open();
       
  5. Priya Agarwal 2014-05-12

    Verified the Fixed with environment: Appc-Studio:3.3.0.201405080918 sdk:3.3.0.v20140509180608 acs:1.0.14 alloy:1.4.0-dev npm:1.3.2 titanium:3.3.0-dev titanium-code-processor:1.1.1 xcode:5.1.1 Device:Blackberry Z10(v10.0.10.261) removeAllChildren () working as expected. Hence Closing the issue.

JSON Source