So I want to try creating 3 MobileGrids in my application so I can create the illusion of "paging" through the data by changing the visibility of each MobileGrid as I have been discussing on the board. I created my MobileGrid - no problem. Then I tried to create an MXML itemRenderer for it. The only option that Flex gives me is a Spark IconItemRenderer for Mobile devices. It required the contents to be placed inside of a Group, inside of a Declararions tag - Done. Here is my itemRenderer:
<?xml version="1.0" encoding="utf-8"?> <s:IconItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" labelField="" iconWidth="27" iconHeight="27" > <fx:Declarations> <s:Group width="27" height="27" horizontalCenter="0" verticalCenter="0"> <s:BitmapImage source="assets/analysis/markerUp.png" width="27" height="27"/> </s:Group> </fx:Declarations> </s:IconItemRenderer> But when I run it, I get an error stating that I must implement IMobileGridCellRenderer. When I try to create an MXML itemRenderer, I get no options for a mobile Renderer based on this. Do I need to include a library that I am missing? Or is there simply no itemRenderer that implements this class? Error: MobileGridColumn item renderer must implement spark.components.itemRenderers.IMobileGridCellRenderer -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/How-to-Create-A-MobilGrid-ItemRenderer-tp13883.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
