TileList only keeping not with class data order custom CellRenderer

Hi all

I was hoping that you guys could help me with this, I did a search and nobody seems to know the same problem.  So first the installer: I have a TileList component set in place with a line in.  The TileList component using a custom class that extends the CellRenderer class to view its data. The problem is that if I scroll so the first element is not visible, in addition, its value is replaced by another item in my dataProvider.

Here is my code for the CellRenderer class (where I am assuming that the problem):

   public class MyRenderer extends CellRenderer
    {
        private var renderer:MyDataDisplay = new MyDataDisplay();
        public function MyRenderer()
        {
            super();
        }

        override protected function onAdded():void{
            super.onAdded();
            addChild(renderer);
        }

        override protected function onRemoved():void{
            super.onRemoved();
            removeChild(renderer);
        }

        override protected function drawLabel():void{
            super.drawLabel();
            if(data){
                renderer.title.text= data.name as String;
                renderer.date.text = data.date as String;
            }
        }

Help?

Hey cyangreen,

lists and cell renderers are the heels of achilie of the QNX API when it comes for them to find haha. and once you think u he descended, something unexpected happens and you have to change once again lol.

I met problems here and there, and usually when you define the data and what not, I substitute the public data() setter. like this I get accurate results. the list and CellRenderer do things funky sometiems and get weird to read outs. so try to do this and see if it changes anything. So instead of override the drawLabel() method, replace the set data() accessor:

override public function set data(data:Object):void
{
    super.data = data;

    if (data.name && data.data)
    {
        renderer.title.text= data.name as String;
        renderer.date.text = data.date as String;
    }
}

Let me know how that turns out. If it doesn't work, let's try something else. Good luck!

Tags: BlackBerry Developers

Similar Questions

  • Print only the Pages with the data

    Hi, is it possible to print only pages of a form with completed field data?  I know that you can select pages manually, but are - it possible for the software to recognize that a page has data entered so impression?  Thank you

    Yes.  You must write a JavaScript routine that would go through each page, then every field on every page and check if the value of the field is empty or not.

    There are programmatic ways to do so.  The Acrobat JavaScript reference guide is your friend.

    JavaScript for Acrobat. Adobe Developer Connection

    Thank you

    Doug

  • iTunes/Quicktime does not not with Vista (data execution Protection)

    I installed the last iTunes/Quicktime (running on Vista SP1).  When I try to load either, I get the error message it is closing.  So, that "Data execution Protection" has closed.

    I have read the FAQ of the DEP and tried to change its parameters to authorize iTunes.  It gives the error message: "this program must run with protection of the execution of data (DEP) enabled.  You can't turn off DEP for this program.

    If someone has encountered this?  I searched the websites of Apple and Microsoft to get answers, but have no idea.  Thank you.

    Raquel Hello,

    Given that this forum has not found the best solution for you, you should try and contact the Apple Support for help with QuickTime.
    http://www.Apple.com/support/contact/

    Forum on Apple QuickTime:
    http://discussions.Apple.com/category.jspa?categoryID=122&start=0#threads

    Please post again if you need help.

    Thank you, Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Dynamic action does not not with the Date

    Hi all

    In my form, I created a dynamic action to be pulled on losefocus on the date of the birth column. The action returns the age in the age column. It only works if I use the date of birth hard-coded as follows:

    SELECT
    SYSDATE - AGE TO_DATE('01-JAN-2007','DD-MON-YYYY')
    OF THE DOUBLE

    It does not work if I use the actual date of entry as follows:

    SELECT
    SYSDATE - AGE TO_DATE(:P2_DOB,'DD-MON-YYYY')
    OF THE DOUBLE

    My version of the apex is 4.02 and database 11g.

    Could someone point out what I'm missing.

    Thank you
    Zahid

    Hi Zahid,

    When you want to use the values of the element of the page in a dynamic action of pl/sql, you must go to the section "Articles to submit the Page.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • After effects 11.0.2 close unexpectedly and only opens not with break

    today I went to run

    crash report everything:

    [crash report trimmed, since the problem is solved, and the entire report here makes it difficult to read the thread]

    any help would be great

    Warren

    problem solved

    was an ICOFormat.plugin in the plugin folder

    Thanks to PaulAbsowebly10 of user

    http://forums.Adobe.com/thread/1007761

  • JavaScript works well with the date picker

    I tried onchange and onblur javascript events in the field of the HTML Form element...
    they work great with text fields... but not with the date picker...
    It seems after that date is selected, javascript is triggered, but set to get pulls the value of the field before the date chosen in the selector is placed here...

    is it possible to get the event fires with the value of dates...

    Hello

    Check your sample now.
    I have put your function setStatus page JavaScript and Execute when the Page loads

     $('#P1_DATE_FINISH').datepicker("option",{
      onClose:function(t,i){setStatus()}
     });
    
     $('#P1_DATE_START').datepicker("option",{
      onClose:function(t,i){setStatus()}
     });
    

    You can also replace this with

    $.datepicker.setDefaults({onClose:function(t,i){setStatus()}})
    

    Kind regards
    Jari

    Published by: jarola December 14, 2010 16:28

    You probably like to have event onchange in the text field, so I change to

    $('#P1_DATE_START,#P1_DATE_FINISH').datepicker("option",{
     onClose:function(t,i){setStatus()}
    }).change(function(){setStatus()});
    
  • VISA do not read serial data in the right order

    Hi all

    I'm working on a project, when I need sample data at point A, it passes these (zigbee) wireless data to point B and here rs232 connection to the laptop.

    I'm using labview 2011 to view sampled data, but I have a little problem, data are not entered into labview in the right order and this is quite crucial in my application. I have attached some photos and my vi to describe the problem in detail.

    Data are packaged in the following form: AS:number1:number2:...:number49:\r - where is the beginning, followed by the values of the sample character separated by: and the last is followed by a return at the end of the cart package.

    When I view the data in different terminals (PuTTY, tera term ect.) then the data is in the correct order.

    To make the most obvious problem, I place the sampling to count an integer of 16-bit instead of the real samling

    The png sample of teraterm is how it is supposed to look like. The vi_sample.png is the string of labview, which is false, I've highlighted a few errors in the visample. When using the VI, I noticed that all the data is collected, but not in the right order.

    The missing Subvi is a few small VI that reads the input rs232 string and control the various indicators of this.

    I hope that you are able to help me with my problem.

    Concerning

    Tommy

    In the structure of case where read you the serial port you are adding at the beginning of the string rather than allow the addition. In other words, you build the answer backwards.

    Your method of reading is contradictory. You have configured the VISA session to stop playing when he sees a carriage return, but you do not actually. You have configured it so tell some bytes are on the serial port. Maybe it's not the set of bytes, since you have no delay between writing and reading, so you can be is only half of the message. If you use the method of termination, then reading VISA should have great value wired to the bytes to be read. Then, when VISA Read see the stop character, it will stop automatically. If you use the bytes available, then you need a mini loop to keep reading until you see the end of the response. Choose one or the other - don't try to play both ways.

  • Why have I not two record creative Cloud suddenly with different data in each folder (a folder called Creative Cloud Files (unknown))

    This morning, I've connected and started working as usual. When I went to save on I noticed a new folder in the Bridge, called "Creative Cloud Files (unknown) without data in it. Weird, but what ever. So I recorded my file and dinked around a structure of files and cleaned a little. I have noticed that my sharing icon disappeared from records and questioned on this subject, but kept the job because I'm on a deadline.

    So now it is wobbly data to the new file folder that does not match the original file of CC. I don't know where are my latest files and some files are all simple missing. I'm increased and confused about what is happening. Can someone shed some light on this?

    With the recent update of the application of Creative Cloud Desktop (1.9.1.474), we have unfortunately introduced a bug that causes the creation of a new Creative Cloud Files folder and re-synchronization of all content. This will happen only the first time that the synchronization application runs after the update. This caused an understandable pain and confusion, for which we really apologize.

    Creative application Cloud Files contains a logic that supports the use of several Adobe ID. This allows to disconnect from an ID and in, but keeps the contents of your separate creative cloud. When you sign out and change identifiers, the app moves the previous creative Cloud Files folder and it's content and he adds with the already signed in ID (User@AdobeID). Then, it creates a main folder and begins to synchronize the content of the identification of new.

    The bug I mentioned earlier occurs, as the app believes an ID selector took place and as such, moves the current record of Creative Cloud Files and attempts to annex the already signed in ID. As no switch actually took place, it manifests as (unknown).  The application then creates a main folder to synchronize the data.

    What you end up with is essentially a creative Cloud Files folder with your new synchronized data and a creative Cloud Files (unknown) folder that contains duplicate data.

    This happens once, after the last update.

    The solution is to simply delete the (unknown) Creative Cloud Files folder.

    I recommend that ensure you that you have no pending change you can do offline and you check the contents of the folder new, main designer Cloud Files contains everything you expect of him.  If this is not the case, check the contents of the creative Cloud files (unknown).

    If there is still an incompatibility with your data, you can check on creative.adobe.com to confirm that your data is there.

    If you have any other problems or questions on this topic please email [email protected]

  • Typedef reference FPGA not updated in the private class data

    I have a FPGA reference related to a typedef that is passed in a LVOOP object. If I change the FPGA of computer simulation of dev to the use of the actual hardware, all references to the typedef are updated which are controls on a diagram. But the typedef in my private class data seems not not to date, so I'm broken son until I replace the control to private data of my class with a copied from my block diagram. Has anyone seen this? Is there a CAR already? I can create a small project to reproduce if necessary.

    Edit: this also seems to happen when I change bitfiles or change to open a VI a bitfile opening in the Configure dialog box open FPGA VI.

    Hi Greg,.

    I was able to reproduce your problem thanks to your easy to follow instructions.

    I noticed that type def successfully by checking "Bind FPGA host of reference to the type definition" in the open FPGA VI reference configuration. What does not automatically update is the Issue.ctl of OBJECT-oriented programming, which has a nested type definition in the private data reference.

    The fastest solution, that I could find was to right click on "Issue.ctl" in the project, and then click Save. This problem immediately solved the broken wire error.

    While configuring open FPGA VI reference has the practical ability to bind to the def of type, it does not broadcast this change to data private to the class. I call not this bug, but I can see how you want it works this way.

    I would recommend you post that on theExchange of ideas (I see you're already regularly here).

  • I am trying to rebuild my old iTunes library (hoping to keep notes, play counts, playlists, etc.) on a new laptop of an old PC, even if the only files I have to use the old are the .xml, .itl.

    I am trying to rebuild my old iTunes library (hoping to keep notes, play counts, playlists, etc.) on a new laptop of an old PC, although the only files I have to use the old are the .xml, .itl and current music files. Is this enough information to do it, and if so, how should I do?

    I lost the other information by following the instructions found online of other attempts. I have unfortunately seem to have lost all that concerns my old library with the exception of the foregoing. I have been using an external hard drive to make this attempt. When iTunes opens it is empty, and when you try to import the .xml I only get playlists, although there is nothing inside of them. It would not be the end of the world for me to start all over again, I've not lost music files, but loading in my all of my old info is much, much, much more desirable. Thank you!

    I'm sure that the sides are stored with the file of 80%. (wav mp3/4 whatever)---> or at least the should be!

    Just install itunes.

    Copy the contents of your old folder in the itunes directory and start itunes--> it will do the rest.

    PS...
    However, I wouldn't bother with itunes more... windows media player is pretty cool in 7, does all the same things.

    Personally I stick with the purchase of CD (mp3 downloads are a rip off)

    'Cool' apples, however, is not it... and what would we do without our podcasts (what happened to the embedded html objects I don't know) computer nerd who serves the grannies

  • Get-view FileManager = vCenter only? How to interact with the data without her store?

    Hello

    I am trying to create a folder directly on a data store and copy a vmx file.  What I've read I need to use Get-file manager mode, but this seems to be only available on vCenter.

    Is there anyway to interact with the data using PowerCLI store when it connects directly to a box of ESX?

    Thanks for your help,

    KeV

    The shortcut notation

    Get-View FileManager
    

    is not available when connected to an ESX host.

    But you can get the object as follows

    Get-View (Get-View ServiceInstance).Content.FileManager
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • CDC data journal of the data store only is not loading

    Hi, I had problems yesterday with the CDC and establishment of a loop package and load log data, so today I decided to patch ODI with the journal 11 g minor and start over. I gave the source schema and implement new following the Rittman guide... http://www.oracle.com/technology/pub/articles/rittman-odi.html

    I ran through from the newspaper and everything runs without error, I can add a record to my table source and "Extend the window" and then right click on my computer-> change data Capture database-> data log and I see my new record in the designer.

    I have an interface with the database as a source and I have the box with "Journalise Data Only" verified... but it just not to revert to new records in the log of the store data.

    Is there something that I am missing? I do not know once I understand that this point it will probably solve my problem built the package to loop through and that several times as well.

    See you soon
    Damian

    Damien,

    Your package should look like:

    (1) ODIWaitForLogData (make sure that your subscriber is correct here)
    (2) extend AND lock (make sure you add your subscriber at this stage as well)
    (3) interface (make sure that your filter has your subscriber inside)
    (4) purge AND Unlock (make sure you add your subscriber at this stage as well)
    (5) ODIStartScen

    Really, make sure you have your Subscriber correctly in all four locations, and it WILL work.

    Is your JKM in asynchronous mode? I had to put it to ANY otherwise my line was not get processed before the 5th iteration around my loop.

    Arif Rajwani

  • A80 - 154 does not start - only black screen with strange resolution

    Hello!

    I have a big problem with the laptop. When I start it the power led and battery LED or power plug LED is blue (depending on what energy source is used, the problem appears both!). It's normal. But you don't see anything on the LCD screen. And nothing happens. Are lit, display is not black, no sound of the HARD drive or the fan. When I connected my external 17 '' TFT, he says that there is a signal, but the screen remained black.

    The signal has a resolution of 720 x 400 70 Hz, which is a very exotic resolution and a strange frequency! Anyone has any idea what it could be? I connected no matter what USB or other device. Only the laptop with or without the battery.

    Hello

    Well, it's not easy to say what may be the problem. I think it s a hardware malfunction, but I don t know which part might have a failure. Maybe it's something wrong with a CPU or memory modules s.
    In this case, I recommend to contact the service partner. He can do some tests.

    Good bye

  • my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    HI - try the following steps:

    On your iPhone close application of activity and also, if it runs in the background, the health app (you can close open apps, including the app shows):

    -Double-click the Home button, and then drag upward on each of the app previews to close.

    It can help to restart your iPhone and your watch. Turn on both devices off the power together first, and then restart your iPhone before restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To switch on: press and hold the side button until you see the Apple logo.

    If this does not resolve the problem, try next disconnect and rematching of your watch:

    -L'app shows on your iPhone shows backups automatically, including a new when the unpairing via the application.

    -Choose to restore the watch (backup restore) when provided the opportunity during the whole.

    -Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    - Pairing your Apple Watch and Support Apple - iPhone

    - Set up your Apple Watch - Apple Support

  • Why is compatible windows 7 with Medal of honor alied assualt and assualt pacifc and airborne, but not with Medal of Honor 10eanniversaire Bundle. and have xp and windows 7 can I play and keep the games on xp with windows 7 is installed

    Why is compatible windows 7 with Medal of honor alied assualt and assualt pacifc and airborne, but not with Medal of Honor 10eanniversaire Bundle. and have xp and windows 7 can I play and keep the games on xp with windows 7 is installed

    Hello
    Welcome to the Microsoft answers site.
     
    By design, the game is not compatible with windows7.
     
    You can also check with the manufacturer of game for any version upgrade of this game, which could be compatible with windows7.

    Yes, if you have the dual operating system on your computer, you can play and record games on xp, start the computer in Xp and you can play the game.

    I also invite you to visit this link to learn more about running the old programs/games in xp or vista compatibility mode.

    Here is the link:
    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Let us know if you have any questions.

    Thank you and best regards,
    Azam - Microsoft technical support.

Maybe you are looking for

  • APPLETV and airplay

    The El Capitan OS V 10.11.6, Apple TV V2 5.06. Problem is Airplay works with iTunes, but something else, said looking for devices of airtime. When Apple TV is active display icon properties in the menu bar is visible, but offer no options of airtime,

  • I get pop ups saying 21 is outdated, but I see nothing of more recent

    I get pop ups saying 21 is out dated, is it true or is it a bad program try to bring me down loading a harmful product or a virus. I farm and are looking for dates to Mozilla directly but can't find anything more recent than 21

  • account for cat

    When I connect, it goes directly to my account with no option for cat. How to spend my account on the screen with my contacts and availability of cat? {:->

  • Qosmio X 775-Q7384 bought in USA - Service in Europe?

    Hello I bought a laptop Qosmio X 775-Q7384 of the United States.Currently im living in Bosnia-and Herzegovina &. After 1 month, one of the HARD drive has failed and will need replacement.I need to know if I can deliver/ship the defective material to

  • Under disk cleanup, there is an option to compress old files

    Under disk cleanup, there is an option to compress old files.  Office folklore says that problems come from compressing the files.  Mythology like that change slowly and often does not upward with the reality.  What is the current conventional wisdom