How to refresh the contents of a SimpleList?

Hello

I want to refresh the contents of a SimpleList. Unfortunately there is no method of clearAll() and no size() method. So no idea on how to do it?

OK, you use 6.0...

Well, if you are using SimpleList, you only display string, right? So, you can use remove() to remove an item from your list. This code allows to clear your list:

int row = 0;
try {
  your_list.remove(index);
  index++;
} catch (IllegalArgumentException ex) {
}

Or you can use the set() method to update an existing line...

Tags: BlackBerry Developers

Similar Questions

  • How to refresh the contents of an external file

    Hi guys.

    I need to use an external file, regardless of the extension (.xls .xml .mdb .csv (txt) of the RPD to oracle BI.
    I use this file as a centerpiece in my star schema and this file need to update frequently.

    How I can see dynamically, without changes to the file, restart the services? I tried to answer to bring up all saving the file, but if I change the contents of the file and, in response, are trying to see the content... it's the same as the first!

    Can I do something to fix this problem? or I have to use the external table?

    Thanks in advance.

    Direct them best

    have a look here: http://obiee101.blogspot.com/2008/07/obiee-changing-xls-excel-data-on-fly.html

    concerning

    John
    http://obiee101.blogspot.com

  • How to see the content of what's currently on my iCloud of this site

    How to see the content of what's currently on my iCloud.  I would like to see these files presented in a display of file manager type in order to sort and remove if necessary.

    Go to iCloud.com, then click on your iCloud drive icon.  I hope this is what you mean or what you are looking for.

    iCloud Drive FAQ - Apple Support

  • How to replace the contents of the settings/passwords backup server / current browser bookmarks?

    Classic scenario: after the bookmark long manual organization Firefox Sync adds trash of its server to my laptop or tablet.

    Where can I find how to replace the content of the backup of the server by settings/passwords / current browser bookmarks? Stupid me, I put a new synchronization and lost this ability.

    It is not recommended to go back to the old version of Sync

    The old version is removed he'll stop being available soon, it takes getting used to using the new version.

    IIRC, it is actually possible to force synchronization of the old working with Fx29 & Fx30 using an old profile or preferences of piracy, but I don't think I should encourage users to try this, but it would be better than using an older version of Firefox which is really bad. In fact using an old outdated version of Firefox is so bad, that it is customary to recommend using a browser on alternative day of someone else instead.

    Firefox ESR is aimed at corporate users, definitely, at the moment, it will use the synchronization of the former. Who will update soon to use synchronization well again, and this time, I guess the synchronization of the former will probably totally frowned upon for example are not available at all.

    It is possible to use the feedback system to leave a short comment on Sync. I would recommend this making, but at least to make very many people of spirit comments that I doubt will have no effect.

  • How to restore the contents of the folder workstation in the default format in Windows XP?

    Dear Sir or Madam:

    I have a desktop of Microsoft Windows XP Home Edition Version 2002 Service Pack 3.

    Contents of the my computer folder is not in the correct format, I want whatever it is corrupt.

    How to restore the contents of the folder workstation to the original format?

    The first JPEG image is the content of the folder post current work that has the corrupted display format.

    The second JPEG image is the content of the folder post original work that is in the correct format.

    Please reply back soon.

    Thank you.

    Looks like you saw. Rearrange icons by | Name. Try to organize by Type and other options while keeping rearrange icons by | Show in groups were also checked.
     
  • How to compare the content of two Wordpad / documents notebook without reading them line by line?

    How to compare the content of two Wordpad / documents notebook without reading them line by line?

    Hello

    Without this feature is included in the operating system.

    However, you can use your favorite search engine to look for software that needs to perform these tasks.

    WARNING of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope this information helps.

  • How to view the contents of the c drive since it is almost full despite the movement of documents, etc. on the D drive

    I moved the documents, pictures, music etc all of drive D and removed all of the excess programs. Despite this C is always showing almost complete. How to see the content?

    I moved the documents, pictures, music etc all of drive D and removed all of the excess programs. Despite this C is always showing almost complete. How to see the content?

    Buna,

    See if this little program will help you to tell you what is causing this lack of space for you problem

    http://www.Jam-software.com/treesize_free/

    Revedere.

  • How to print the contents of a hard drive?

    Title: list of files on a specific drive.

    How to print the contents of a hard drive?  I would like to be able to remove the old files, but it would be easier if I could print the content rather than scroll through the file by file.

    Hello

    These should help:
     
    How to save and print a list of directory for a file and the folder of Vista (Windows 7 is the)
    same)
    http://www.Vistax64.com/tutorials/114593-file-folder-directory-list-print-save.html

    How to add view and directory of print in the context Menu in Vista and Windows 7 file
    http://www.Vistax64.com/tutorials/146031-context-menu-add-view-print-file-directory.html

    Use this free program which is great:

    KarenWare - printer - free directory
    http://www.KarenWare.com/PowerTools/ptdirprn.asp

    How to add the feature print directory for files in Windows XP, Windows Vista or Windows 7
    http://support.Microsoft.com/default.aspx/KB/321379

    I hope this helps.

  • How to read the contents of the attachments to the record listener?

    Hi all

    We have a blackberry user interface application that implements FolderListener. The messagesAdded(FolderEvent e) public void in the record listener method is called whenever a new message arrives on the device.

    Now, there are some emails that will also spare.

    Can someone tell me how to read the contents of the attachment?

    I can read correctly the content of the body of the email.

    Our code to handle the arrival of e-mail for your reference is mentioned below.

    public class MyUIApplication extends UiApplication implements FolderListener
    {
        public void messagesAdded(FolderEvent e) {
            Message orginalMessage = e.getMessage();
    
            Folder messageFolder = orginalMessage.getFolder();
    
            if (e.getMessage().isInbound() == true) {
    
                String sender = orginalMessage.getFrom().toString();
                String subject = orginalMessage.getSubject();
                String body = orginalMessage.getBodyText();
    
                String attachmentContent = ""// Read atachment content here?
    
                // some more code
            }
        }
    }
    

    Any help in this regard will be appreciated.

    Thank you.

    There is no way to prevent a menu item to be added to an AttachmentHandler.  When a user clicks your menu item will be called the run method.

    If you have registered an AttachmentHandler for your type of attachment and the prefix the file name of the attachment with x-rimdevice, you would be able to access its contents of in a FolderListener.

  • How to refresh the entire screen?

    Hello

    Please can someone tell me how to refresh the entire screen?

    Refresh here means clear all fields and show empty fields.

    Thank you

    Afonso Tyagi

    Hey,.

    as I usually do, is to create a separate function that manually assigns to each field and property reverts to its original state. There is not a function that does it for you. You must create your own. hope that helps good luck!

  • HTML Help Home button - how to change the content

    I use Robohelp 11 and we post our content as microsoft HTML help.  I wonder how to change the content of the button the top of the page next to the front buttons and back at home.  Since it's HTML Help I can't use a skin to change the buttons, but I need to change what is displayed when you click the home button.  I can't find how to change when the button links to.  I just want to link to our home page.

    Thank you!

    Matthew

    Hello

    On luck outside, that you are not really wanting to address the 'skin in a CHM' quite yet, try this.

    First, note the path and the name of the file that you want to appear when the user clicks on the Home link.

    Open the pod of setting up a project. (View > pods > project configuration)

    Expand Windows, and then double-click the CHM window. (If you do not see a CHM window, you will need to create a)

    In the Properties window, click the Advanced Properties button.

    And from the Advanced Properties dialog box, you type (Yes, you heard that right, TYPE) the path and the name of the file you want. (Remember this first step?) Note that you can also type a URL pointing to a website here.

    Hope this helps... Rick

  • How to make the content of the DIV on the page that I'm going to fade out?

    I'm trying to figure out how to make the content of a DIV on the page I'm clicking away from fade. I know how to do the Next page load with a fade in. So I'm half there (I guess).  WiX has many designs which use for this purpose. Here is a link to an example:

    http://www.wix.com/website-template/view/HTML/633?originUrl=http%3A%2f%2Fwww.wix.com & numbe r page = 1 & = 1 position-in-page

    This is the code I use to make a DIV load with a melted in:

    I have add this CSS code in the div I want to apply the fade in effect to:

    Animation: fadein 2s;

    -moz-animation: fadein 2s; / * Firefox * /.

    -webkit-animation: fadein 2s; / * Safari and Chrome * /.

    -o - animation: fadein 2s; / * Opera * /.

    And I add this additional code to the CSS stylesheet:

    }

    fadein {} @keyframes

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    @-moz - keyframes fadein {/ * Firefox * /}

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    @-webkit - keyframes fadein {/ * Safari and Chrome * /}

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    @-o - keyframes fadein {/ * opera * /}

    of {}

    opacity: 0;

    }

    to {}

    opacity: 1;

    }

    }

    Tutorial with demo & downloadable files here: http://www.onextrapixel.com/2010/02/23/how-to-use-jquery-to-make-slick-page-transitions/

  • How to get the content during execution classpath

    In production mode, I can't stop the weblogic server. In the command line window, shows that recent information. How to get the content of the classpath of weblogic domain?

    You can view the log file of the server under the location */servers//log / *. The log file contains the details about the CLASSPATH setting.

    A typical classpath is represented by the java.class.path attribute in the log file.

    See you soon,.
    Julien
    http://WebLogic-wonders.com

  • How to get the content incorporate the swf file in Swf Loader on the run time

    How to get the content incorporate the swf file in Swf Loader on the run time

    [Bindable]

    [Embed(source="assets/index.swf")]

    private var SWFSRC: Class;

    < mx:SWFLoader id = "_swfloader" source = "{SWFSRC}" / >

    It might be Loader (DisplayObjectContainer (_swfLoader.content) .getChildAt (0)) content

  • How to load the contents of a layer as a selection in photoshop CS4

    Hello

    In photoshop cs4 when I ctrl-click on a layer thumbnail in the layers panel, photoshop select any layer not its content.  How to load the contents of a layer as a selection in photoshop cs4?

    Thank you

    to load the contents of the layer as a selection, you go to the Panel layers and Ctrl + click on the RGB.

Maybe you are looking for