How do I paste into the ListView?

I have a text field which I would like to get suggestions, which should be above him. For this I need ListView sticking inside, like this:

the first item so should one just above the text field. When changes to data and ListView is greater that the amount of available space, I want to align at the bottom. How can I do?

So far, I tried to do this in two ways:

1. turn the ListView upside (rotationZ: 180) and each ListItem also upside down to make it readable. It works fine, but the shot is reversed (slide upward moves ListView downstairs and vice versa). The screenshot comes from there.

2. something like this:

ScrollView {        horizontalAlignment: HorizontalAlignment.Fill        verticalAlignment: VerticalAlignment.Fill
    Container {                horizontalAlignment: HorizontalAlignment.Fill                verticalAlignment: VerticalAlignment.Fill
        layout: DockLayout {}
        ListView {
            verticalAlignment: VerticalAlignment.Bottom
            preferredHeight: myModel.content.length * itemHeight
        }
    }
}

I had to reverse the data in my data model and call scrollView.scrollToPoint (0, infinite) each time when the changed data. The code was this very complicated and ugly. The problem was that ListView or ScrollView anime oddly when data is modified.

Is it a normal solution to this?

Hi, I'm not in front of my computer, but it looks promising. Maybe by setting StackListLayout.orientation I could achieve this. I'll try it soon.

Tags: BlackBerry Developers

Similar Questions

  • How to copy and paste into the search engine does not work?

    How to copy and paste into the search engine does not work?

    It should be.

    Restart your Mac and try again.

    Other than that, make sure that OS X is updated.

    Open the App Store, and then select the updates menu.

  • I can't copy and paste into the InDesign application.

    I can't copy and paste into the InDesign application. He worked a couple of days.

    OS version? How do you paste copy operations? Menu, shortcut, right-click?

    Have you tried trashing the prefs? See replace your preferences

  • Adobe PDF printer crashes when you paste into the file name field

    Hello, first off there is no similar problem with all freeware pdf printers so I want to remove my config system as being the culprit. This only happens in Adobe PDF format.

    How to reproduce the problem? Have something in your Clipboard and try to paste it into the file name field when you print the file in pdf format - you should have now crashed everything that you were trying to print and the program behind it.

    Please make a fix for this, it is ridiculous that I have to install a second, freeware, pdf printer because thousand dollar software does not work properly. And I've lost tons of recipes and work this way.

    Solution is not to copy and paste into the save box.

    I found that this happens in programs other than Thunderbird and the reason why the freeware application works is that you paste into the window of the application instead of Windows' save box.

  • I can copy a URL, but may not be able to paste into the body of an e-mail message. Also the hypelink doen't it. I don't have this problem with Internet Explorer...

    When I copy a URL and go to paste it into an email, it will not stick. Another box opens. I can paste the URL in the subject line, but doesn't hyperlink it. (blue) When you use Internet Explorer, I don't have this problem. I'm new to FF with a new computer.

    Paste a link in the subject line does not a link so that the part is normal. But being not not able to paste into the body of the e-mail is not. I can't think of a reason that would happen. What email program are you using?

  • Cannot insert field or paste into the existing local Variable (Boolean container)

    Cannot insert field or paste into the existing local Variable (Boolean container)...  TestStand 4.1.

    It is very strange, especially since I've done it before.

    'Paste' and "insert field" selections are grayed out and disabled in the context menu.  I tried everything I could imagine and tried various combinations of positions.  I'm sure it's something simple, bu redicoulously, I can't find the redicule to solve this annoying problem issue.

    The local variable is a container of Boolean.  It has 90 elements and I need to add one more.  I can not change / rename or do something with this Local.  Must be karma (for those who know me in the LabVIEW forum).  Usually, you do a right click, insert field and that's where...  Not this one...

    Anyone seen this before?  Closing and re-opening TestStand doesn't change anything.  There is a collection in LabVIEW that feeds the local section in TestStand.

    It is a container of data custm type.  To change flags are ok (edit is allowed).  Can't think of any other valuable information...

    He finds...

    It should be edited in the Data Types...  It was not automatic after reloading the prototype of LabVIEW.

    I knew it was something stupid that I didn't...  I became close... but had not sought far enough.

    I was looking at the range of Types, but not in the file of the sequence...

  • My webcam is built into my laptop, how do I go into the settings of webcam?

    Hi again, my webcam is built into my laptop, how do I go into the settings of webcam?

    Original title: salvation

    Hello

    You must go to the specific manufacturer of your laptop's Web site for information on how to configure your specific webcam.  You can also take a look at the article with some general information here as well.  Do not know what operating system you use, but the article is for Windows 7.

    Thank you!

  • How to insert data into the table by using the expression builder in the assign activity

    How to insert data into the table by using the expression builder in affect business in BPEl, I use SOA Suite 11.1.1.5
    Can someone help me please

    Hello

    I don't think that oraext:query-database() can insert data into the table.

    What are your needs?
    Can not you plan to use the DB adapter with the insert operation?

    Kind regards
    Neeraj Sehgal

  • How to paste into the text field of the Clipboard with JavaScript?

    I implement the following actions in the form of javascript:

    1. a user clicks on a link on the PDF to open a web page

    2. the user uses the web page to find information and then copy text from the web page

    3. the user clicks a button on the pdf form and it formats the text to the Clipboard and paste them into the text fields.

    I can't find any references for the reading of the data from the Clipboard with javascript in PDF Forms. is it not possible?

    Perhaps 'not possible' was a little too hard. It would be a security hole if she accepts a script in a form to copy the contents of the Clipboard without the user explicitly allowing it. It has been possible to copy the contents of the Clipboard into a form field using the app.execMenuItem method without the user knowing / allowing it, but that hole was closed. The restriction can be overcome, as explained in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.143.html

  • BlackBerry passport copy / paste into the passport of BB

    How to copy the text into the passport of BB

    I have the text in FILES, DOCS &-> REMEMBER-> TASKS-> books followed by authors and book titles.
    I want to copy all the text and spent all in the FILE MANAGER-> BOOKS and a new file called BOOKS to BUY.
    I know how to copy but when open 'Books to buy' and type in the past nothing has happened. What I am doing wrong?

    File Manager is not a word processor or a laptop. Then, to my knowledge you cannot paste text there.

    Paste your collection of references in a text file and then save this file in the location you want with file manager: this seems much more logical for me at least.

  • Cannot paste into the address bar.

    I can't paste it into the address bar. I downgraded as it suggested in a different thread, but future dough still does not work.

    I think that the most likely cause is a conflict of add-on. You can check to ensure that your extensions are up-to-date? You can do the following:

    Firefox orange (or the Tools menu) button > Add ons > "gear" button > check updates

    If those are all up to date, you may need to try to figure out if they are the cause of the problem of deactivation. A shortcut to that is to try the Mode without failure of Firefox, a diagnostic tool standard in order to avoid interference by extensions (and some custom settings). More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe help

    Help > restart with disabled modules

    In the dialog box, click on 'Start mode safe' (not Reset)

    If you can stick mode without failure, most likely the problem is one of your extensions. You can quit and restart in normal mode and disable what you can live without for 24 hours and see if that helps.

  • How to apply filters to the Listview created using GroupDataModel?

    Hello

    I have created a listview with groupdatamodel, now I want to apply filters for listview. How to do this?

    Please help me. (As looking for contacts)

    Kind regards

    Naresh Kodumuri.

    Hello

    I found the solution for the application of filters to the listview.

  • How to load data into the App MVDEMO schema example

    Hi all

    I'm a POC on Oracle Mapviewer and try to build some reports in OBIEE using MApviewer.

    This POC, I use Oracle MVDEMO example Data (11g). I think that these sample data covers few countries like the USA.

    I need to make PDS for the Brazil, I downloaded data from the map of the site as Shapefiles Brazil

    http://GADM.org/country

    in these data of the Brazil, I got from .csv files 4 extensions, .dbf, .shp and SHX

    I need to know how can I load these files into my Oracle 11 g DB? Should I load data into the same pattern of mvdemo, if yes then which table?

    Any help will be appreciated a lot.

    Thank you

    Amit

    Use the Java shapefile Converter utility (http://www.oracle.com/technetwork/database/options/spatialandgraph/downloads/index-093371.html)

    GDAL (gdal.org) FME (Safe) or or MapBuilder.

    Specify the to SRID (i.e. the SRID for loading in Oracle geoms) 4326 or 8307.

    Load into a new table named anything you want. for example brazil_gadm with the geometry named GEOMETRY column

    Once it's loaded, verify that there is an entry for the table and column (BRAZIL_GADM, GEOMETRY) in user_sdo_geom_metadata

    Create a space on brazil_gadm.geometry index if the tool has not created a.

    Add the definitions of topic for the country, State or whatever the admin areas exist in the dataset.

    Import them as layers in OBIEE.

  • How to insert data into the initialization blocks

    I want to connect the user which connect to the obiee system. in the initialization, user blocks, we can get, but how to insert the date and user in the database is it in any way. Thanks in advance.

    The connection id is stored in the system USER session variable. You can use it to insert into the database in the initialization block.

    INSERT INTO tablename (username, date) values (': USER ', sysdate);

  • How to load data into the table of correspondence in OIM 11 g

    Hello
    I have a lot of data that must be loaded into the table of choice as Codekey and decode. How can I load the data in bulk instead of manually via console Design?

    Is it possible to do? No API IOM or any what SQL query

    Kind regards
    JS

    Here's what you need to get.

    psLookupCode - search name,
    psValue - Code key
    psDescriptivevalue - DecodeKey

    The rest can be empty.

    addLookupValue

    void addLookupValue (java.lang.String psLookupCode,
    java.lang.String psValue,
    java.lang.String psDescriptiveValue,
    java.lang.String psLanguage,
    java.lang.String psCountry)
    throws Thor.API.Exceptions.tcAPIException,
    Thor.API.Exceptions.tcInvalidLookupException,
    Thor.API.Exceptions.tcInvalidValueException,
    tcAPIException adds a new entry for the specified search

    Parameters:
    psLookupCode - the Code for the definition of research
    psValue - the value that will be stored in the database
    psDescriptiveValue - a descriptive version of the value to be added
    psLanguage - the language for the added entry. Leave blank to accept the default value (en)
    psCountry - country for the specified entry. Leave blank to accept the default (US)

    Throws: tcAPIException tcInvalidLookupException - thrown if the search Code is no tcInvalidValueException - thrown if the value cannot be added to the list of choices (because it's a double, etc.)

    M

Maybe you are looking for

  • using iCloud for photos

    Decided that I would try using iCloud for synchronization of photos to all my devices - ipad and iPhone.  A simple and way big to keep all the features of update of the sounds.  I followed all the directions for setting this up and find that this mor

  • Issues with Apple pay

    How can I delete cards wallet to pay Apple, and Apple pay work? So far, he has not worked in one of the stores would have been with Apple pay I've tried...

  • Why not firfox see the footer of my website when IE9 does?

    I made a web site, firfox does not display the content of the entire page... why used see the footer? http://home2.btconnect.com/kcaringagency/ (test site)

  • 8007371

    I have 10 update that will not be installed. I even tried them a facility at an ime they always fail. The largest is KB980182. It returns a code 8007371B. When using the updated windows computer, try to install the top date and this seems to lock the

  • HP Pavilion s3270y: from window to window 7 No. Hp media center missing vista

    Can you please send a response to my question.  I guess I shouldn't post my email because it's on a forum.  I am not able to find this forum again.  But I hope that you have that info to the registry.  Thank you. Question: Since the download of windo