brianraymes opened a new pull request #887:
URL: https://github.com/apache/royale-asjs/pull/887


   ArrayListView does not dispatch a "lengthChanged" event after performing a 
refresh which can alter the length from a filter.
   
   **Steps to Reproduce**
   
   1. _Create a bindable ArrayListView_
   
   ```
   [Bindable]
   public var names:ArrayListView = new ArrayListView(new ArrayList(["A", "B", 
"C"]));
   ```
   
   2. _Bind something to the length property_
   
   ```
   <j:Label text="Length: {names.length}"/>
   ```
   
   3. _Add a filter and refresh_
   
   ```
   names.filterFunction = filterFunctionThatRemovesB;
   names.refresh();
   ```
   
   **Expected Results**
   
   Label is updated from `Length: 3` to `Length: 2`.
   
   **Actual Results**
   
   Label is not updated and remains as `Length: 3`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to