mjesteve commented on pull request #1153:
URL: https://github.com/apache/royale-asjs/pull/1153#issuecomment-933974256


   Hi,
   After further debugging the code, I believe that the patched code should be 
moved to "get list()", as it is in the ComboBoxPopUpView.as
   In the "set strand", it first executes the assignment in the parent class, 
"super.strand = value" which references "list" in several lines and each time 
it does the "get list()" it creates _list (new VirtualList()). I don't know why 
it doesn't save the value of _list from one call to another...
   
   
![image](https://user-images.githubusercontent.com/55754195/135944416-fd847679-492a-4276-863b-e1b579a0e85a.png)
   
   The code would look like this:
   
   
![image](https://user-images.githubusercontent.com/55754195/135943944-6b9af35e-777f-4039-ae7c-9954a753b328.png)
   
   I have found that with this implementation the _list variable takes 
effective value on the first call.
   What do you think?
   
   Hiedra


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

To unsubscribe, e-mail: [email protected]

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


Reply via email to