You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/09/03 09:55:10 UTC
[royale-asjs] branch feature/new_merge updated: We need to
implement IItemRendererProvider
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch feature/new_merge
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/new_merge by this push:
new f44d5ea We need to implement IItemRendererProvider
f44d5ea is described below
commit f44d5ea8e51416d099f4f0aea05e10ffe628a60d
Author: Harbs <ha...@in-tools.com>
AuthorDate: Mon Sep 3 12:54:59 2018 +0300
We need to implement IItemRendererProvider
or custom renderers will not work
---
.../Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as | 3 ++-
.../MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as
index 0d25075..18f5ec6 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as
@@ -19,6 +19,7 @@
package org.apache.royale.core
{
import org.apache.royale.core.ValuesManager;
+ import org.apache.royale.core.IItemRendererProvider;
import org.apache.royale.html.beads.IListView;
import org.apache.royale.events.Event;
import org.apache.royale.html.supportClasses.DataItemRenderer;
@@ -42,7 +43,7 @@ package org.apache.royale.core
* @playerversion AIR 2.6
* @productversion Royale 0.0
*/
- public class DataContainerBase extends ContainerBase
+ public class DataContainerBase extends ContainerBase implements IItemRendererProvider
{
/**
* Constructor.
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
index 94c96f2..3d3f99f 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
@@ -35,6 +35,7 @@ import org.apache.royale.core.ContainerBaseStrandChildren;
import org.apache.royale.core.IBeadLayout;
import org.apache.royale.core.IChild;
import org.apache.royale.core.IContainer;
+import org.apache.royale.core.IContainer.IItemRendererProvider;
import org.apache.royale.core.IContainerBaseStrandChildrenHost;
import org.apache.royale.core.IDataProviderItemRendererMapper;
import org.apache.royale.core.IItemRendererClassFactory;
@@ -84,7 +85,7 @@ use namespace mx_internal;
* @productversion Royale 0.0
* @royalesuppresspublicvarwarning
*/
- public class ListBase extends UIComponent implements IContainerBaseStrandChildrenHost, IContainer, ILayoutParent, ILayoutView
+ public class ListBase extends UIComponent implements IContainerBaseStrandChildrenHost, IContainer, ILayoutParent, ILayoutView, IItemRendererProvider
{
//----------------------------------