ListView needs to be IScrollingLayoutParent

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/669d04bb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/669d04bb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/669d04bb

Branch: refs/heads/develop
Commit: 669d04bb88fdab759dbc0e425adb81ed4666b750
Parents: ef5c740
Author: Alex Harui <aha...@apache.org>
Authored: Thu Sep 25 07:59:02 2014 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Thu Sep 25 07:59:02 2014 -0700

----------------------------------------------------------------------
 .../FlexJSUI/src/org/apache/flex/html/beads/ListView.as        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/669d04bb/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ListView.as
----------------------------------------------------------------------
diff --git 
a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ListView.as 
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ListView.as
index 3173acb..f7e08d4 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ListView.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ListView.as
@@ -25,7 +25,7 @@ package org.apache.flex.html.beads
        import org.apache.flex.core.IBeadView;
        import org.apache.flex.core.ISelectableItemRenderer;
        import org.apache.flex.core.IItemRendererParent;
-       import org.apache.flex.core.ILayoutParent;
+       import org.apache.flex.core.IScrollingLayoutParent;
        import org.apache.flex.core.IParent;
     import org.apache.flex.core.IParentIUIBase;
        import org.apache.flex.core.IRollOverModel;
@@ -54,7 +54,7 @@ package org.apache.flex.html.beads
         *  @playerversion AIR 2.6
         *  @productversion FlexJS 0.0
         */
-       public class ListView extends Strand implements IBeadView, IStrand, 
IListView, ILayoutParent
+       public class ListView extends Strand implements IBeadView, IStrand, 
IListView, IScrollingLayoutParent
        {
                public function ListView()
                {
@@ -190,7 +190,7 @@ package org.apache.flex.html.beads
             if (_strand.getBeadByType(IBeadLayout) == null)
             {
                 var mapper:IBeadLayout = new 
(ValuesManager.valuesImpl.getValue(_strand, "iBeadLayout")) as IBeadLayout;
-                               strand.addBead(mapper);
+                               _strand.addBead(mapper);
             }  
                        
                        handleSizeChange(null);

Reply via email to