piotrzarzycki21 commented on issue #639:
URL: https://github.com/apache/royale-asjs/issues/639#issuecomment-652826322


   > Hi all,
   > We had that same problem when binding lists.
   > 
   > This has worked for us:
   > 
   > ```
   > private var _arrayListExample:ArrayList = new ArrayList();
   > [Bindable(event="arrEvent")]
   > public function get arrayListExample():ArrayList
   > {
   >  return _arrayListExample;
   > }
   > public function set arrayListExample(value:ArrayList):void{ 
   >  _arrayListExample = value; 
   >  dispatchEvent(new Event("arrEvent"));
   > }
   > ```
   > 
   > We add an event to the bindable statement and we call it when making a set.
   > 
   > Keep in mind if you want it to work, you should update the content of the 
list always by calling the setter and not referring to the private variable of 
the property.
   > 
   > I hope it helps to you ;)
   
   @javeiga-iest Please raise separate issue if it's still occurs. Try newest 
nightly to make sure that is not. 


----------------------------------------------------------------
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