You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/06/10 10:49:20 UTC

[royale-asjs] branch develop updated: ArrayList: make length bindable, since is of common use

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new f60fe90  ArrayList: make length bindable, since is of common use
f60fe90 is described below

commit f60fe903d29d2de494c5ed4d28780be4c5ff3952
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Jun 10 12:49:10 2020 +0200

    ArrayList: make length bindable, since is of common use
---
 .../src/main/royale/org/apache/royale/collections/ArrayList.as           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as b/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as
index 75ea856..86e7553 100644
--- a/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as
+++ b/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as
@@ -430,6 +430,7 @@ package org.apache.royale.collections
          *  @playerversion AIR 2.6
          *  @productversion Royale 0.0
          */
+		[Bindable("lengthChanged")]
         public function get length():int
         {
             return _source ? _source.length : 0;