This is an automated email from the ASF dual-hosted git repository.
pushminakazi 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 64e3ed6 Update AdvancedListBase.as Uncomment isItemSelected method
64e3ed6 is described below
commit 64e3ed6cf65d9f3994767ce0e436f17189c3e29a
Author: pashminakazi <[email protected]>
AuthorDate: Thu Oct 31 12:46:28 2019 +0500
Update AdvancedListBase.as Uncomment isItemSelected method
---
.../src/main/royale/mx/controls/listClasses/AdvancedListBase.as | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/AdvancedListBase.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/AdvancedListBase.as
index 067dc21..189ef4c 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/AdvancedListBase.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/AdvancedListBase.as
@@ -1055,7 +1055,7 @@ public class AdvancedListBase extends ListBase /* extends
UIComponent
* @playerversion AIR 1.1
* @productversion Royale 0.9.4
*/
- // protected var selectedData:Object = {};
+ protected var selectedData:Object = {};
/**
* A hash table of selection indicators. This table allows the component
@@ -4795,7 +4795,7 @@ public class AdvancedListBase extends ListBase /* extends
UIComponent
* @playerversion AIR 1.1
* @productversion Royale 0.9.4
*/
- /* public function isItemSelected(data:Object):Boolean
+ public function isItemSelected(data:Object):Boolean
{
if (data == null)
return false;
@@ -4804,7 +4804,7 @@ public class AdvancedListBase extends ListBase /* extends
UIComponent
return (selectedData[data] != undefined)
return selectedData[itemToUID(data)] != undefined;
- } */
+ }
/**
* Determines if the item renderer for a data provider item