ListView problem: scrolling non-stop

Hello friends,

I get some problem with ListView in ScrollView ListView doesn't stop scrolling.

I want to put some of the views (for example, Label, textArea Image) in the vertical stack layout container & add a list at the end of the container, so that all opinions can scrolls.

But I get unexpected results that everything is ok, but my view of the list doesn't stop event of scrolls of the item in the scrolling list.

If I add some other view as tab after ListView then it never reached.

Can someone give me a solution for this.

Thanks in advance

I use the following code for QML

import bb.cascades 1.0

{Of container

background: Color.Yellow
maxHeight: 1000
preferredHeight: 1000
ScrollView {}
maxHeight: 1000
preferredHeight: 1000
{Of container
{Of container
topPadding: 10
leftPadding: 10
rightPadding: 10

{Of container
layout: {StackLayout}
direction: LayoutOrientation.LeftToRight
}
TextField {}
hintText: qsTr ("toEmail/Mobile number Email/Mobile Number") "") "
}
ImageButton {}
defaultImageSource: ' images/add.png.
pressedImageSource: ' images/add_focus.png.
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: P
}
}
{Of container
topMargin: 10
layout: {StackLayout}
direction: LayoutOrientation.LeftToRight
}
ImageView {}
preferredWidth: 120
preferredHeight: 90
}
TextArea {}
maximumLength: 50
hintText: "title."
preferredHeight: 180
}
}
background: Color.LightGray
preferredHeight: 720
}

{To ListView
dataModel: {ArrayDataModel}
ID: contacts
}
}

onCreationCompleted: {}
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
contacts. Append ("ABAC");
}
}
}
}

As far as I know, using listview in scrollview will cause infinite scrolling. To resolve this issue, try to set the height of the listview. You can also try to set the height of the listview based on the number of records by using contacts.size ();

It will be useful.

Tags: BlackBerry Developers

Similar Questions

  • Satellite A200 - Touchpad scroll function stop working after BIOS update

    Hello

    After that I updated the BIOS (drawn from the Toshiba site), the scroll function stop working. I can still click, move the mouse pointer, but can no longer navigate the touchpad. Relocation of Synaptics driver is not the problem. The strange thing is that the computer detects only my touchpad as standard pointing device (port: PS/2) device. "Graph of pressure" and "Moodpad" function also stop working and complain "this program requires a Synaptics TouchPad, and the Synaptics Pointing device driver.
    My computer is Satellite A200 PSAE0C-TR605C.

    Anyone know the reason?
    Thank you

    Danny

    Hello

    What operating system is installled and which is more interesting: what version of BIOS you have installed? Why I ask? Because there are 2 different BIOS versions, one for Vista (1.80) and one for XP (5.20) which means that when you Flash a BIOS XP on a computer with Vista installed then some functions do not work properly as the FN keys or the touchpad.

    If please check this out and make sure you have the appropriate BIOS installed.

    Welcome them

  • After updating my iPhone 6 (9.3.4) the WiFi signal becomes very low! I did everything, but the problem does not stop! I don't a not update my other devices & their very good WiFi signals. Please help me solve this terrible problem...

    After updating my iPhone 6 (9.3.4) the WiFi signal becomes very low! I did everything, but the problem does not stop! I don't a not update my other devices & their very good WiFi signals. Please help me solve this terrible problem...

    Here's a tip for the user on the problems of Wi - Fi. Suggest from the top and bottom. Maybe one of them will help you.

    (1) restart you device.

    (2) resetting the network settings: settings > general > reset > reset network settings. Join the network again.

    (3) reboot router/Modem: unplug power for 2 minutes and reconnect. Update the Firmware on the router (support Web site of the manufacturer for a new FW check). Also try different bands (2.4 GHz and 5 GHz) and different bandwidths (recommended for 2.4 to 20 MHz bandwidth). Channels 1, 6 or 11 are recommended for 2.4 band.

    (4) change of Google DNS: settings > Wi - Fi > click the network, delete all the numbers under DNS and enter 8.8.8.8 or otherwise 8.8.4.4

    (5) disable the prioritization of device on the router if this feature is available. Also turn off all apps to VPN and retest the Wi - Fi.

    (6) determine if other wireless network devices work well (other iOS devices, Mac, PC).

    (7) try the device on another network, i.e., neighbors, the public coffee house, etc.

    (8) backup and restore the device using iTunes. Try to restore as New first and test it. If ok try to restore the backup (the backup may be corrupted).

    https://support.Apple.com/en-us/HT201252

    (9) go to the Apple store for the evaluation of the material. The Wi - Fi chip or the antenna could be faulty.

    Council: https://discussions.apple.com/docs/DOC-9892

  • Recently upgraded to El Capitan, I had that problem for Mail stop unexpectedly when I saw some posts.  I followed the steps and was able to remove the trouble messages.   Now I can't restore the mail window message viewer component.

    Recently upgraded to El Capitan, I had that problem for Mail stop unexpectedly when I saw some posts.  I followed the steps and was able to remove the trouble messages.   Now I can't restore the mail window message viewer component.  When I try to catch the separator bar to go back to the left, only half of the small arrow icon and line appears, and it cannot be moved.   Can open the message by double clicking a message viewer.

    Hi there, alicefrompa!

    Thank you for using communities Support from Apple. From your post, I understand that you do not see the Message Viewer box which allows you to read your e-mails; only see you the Inbox that includes a brief overview of the message and are unable to restore access using the separator bars. I have had this happen to my own Mail app and am happy to let you know how I could fix!

    You are really on the right track - you want to roll your mouse over the divider between the Inbox and sections Message Viewer (which should now be on the extreme right edge of your mail window) and drag it to the left.  When you click on the receipt/Message Viewer box, the cursor turns into a line continuous black with a single arrow pointing to the left. When you see the cursor change, click with the left button of the mouse and (while holding down the mouse button in) drag the combination line / arrow to the left. You may need to drag a little further than before to get it. I had to hang mine almost completely in the middle of my Mail app before the display of the message box appeared.

    From there, you should be able to adjust the boxes to your widths you want as expected.

    If you are still not able to get the display of the messages visible after have try this, here are a few more things that you can do.

    1. Press command + O on your keyboard.
    2. Exit the Mail application, and then press on and hold the SHIFT key on your keyboard while reopening.
    3. Restart your Mac by selecting the menu  Apple in the upper right of your screen restart from the menu drop down.

    See you soon!

  • I worked on a large document for several years and all of a sudden I can't scroll to the bottom of the screen with my two fingers on the touchpad, well that I have no problem scrolling to the bottom of this page to search for similar issues.

    I worked on a large document for several years and all of a sudden I can't scroll to the bottom of the screen with my two fingers on the touchpad, well that I have no problem scrolling to the bottom of this page to search for similar issues. I can navigate only to go up and down with the arrow keys.

    What version of Pages is running on your MBP?

    What version of Mac OS X is running on your MBP?

    The MBP is not iOS running.

  • Right mouse click when the file name of MS Explorer results saying that he has encountered a problem and will stop, and it stops quickly.

    Right mouse click when the file name of MS Explorer results saying that he has encountered a problem and will stop, and it stops quickly.

    Right click issues are usually caused by a third-party software that put an entry in the context menu. You can solve this with the free ShellExView.

    http://www.nirsoft.net/utils/shexview.html - ShellExView

    Make a right-click is slow or weird behavior caused by context menus management - http://windowsxp.mvps.org/slowrightclick.htm
    Manage the entries in context menu for folders, readers, and the Namespace objects - http://windowsxp.mvps.org/context_folders.htm MS - MVP - Elephant Boy computers - Don ' t Panic!

  • My spysweeper.exe shows running and using 50% CPU non-stop

    My spysweeper.exe (spysweeper for MSN) is running and using about 50% of the non-stop CPU.

    Hello

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Let flow the Microsoft Safety Scanner and check if it helps.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Method 2:

    Try uninstalling and reinstalling spysweeper and check if it helps.

    Uninstall a program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Install a program: http://windows.microsoft.com/en-US/windows-vista/Install-a-program

    Hope the helps of information. Please post back and we do know.

  • I get messages that support and problems Windows has stopped working. and also that I have no more memory on line 2. What can I do to fix this?

    I get messages that support and problems Windows has stopped working.  I told myself that I will advise if a solution is found, I get another box saying that I have to close becausse that Windows does not work.  I also get messages that I have not more memory on line 2.  What can I do to fix this?

    Hello

    1. could you give us the exact error message?
    2. Once you get this error message? This is when using Internet Explorer?

    In the meantime, check out the articles below and check. Try to increase the size of pagefile.sys and check.
    http://support.Microsoft.com/kb/2267427

    I hope this helps.

  • MsMpEng.exe running non-stop using 100% CPU and slow my computer down makes it difficult to use

    MsMp Eng.exe running non stop using 100% of cpu and slow my computer down makes it difficult to use, I just need a way to disable this program

    Hello Ian,

    Have you tried the Task Manager to end? Right-click on the taskbar and select Start Task Manager. Locate the application and click on end task (at the bottom of the page). I wonder if it's a piece of malware running, or even a virus. If it will not be closed, or starts just backup again, consider using these scanners:

    Malwarebytes': http://download.cnet.com/Malwarebytes-Anti-Malware/3000-8022_4-10804572.html .

    SuperAntiSpyware: http://download.cnet.com/SuperAntiSpyware-Free-Edition/3000-8022_4-10523889.html .

    ESET Online Scanner: http://www.eset.com/us/online-scanner/ .

    Keep me posted and let me know how you fare.

    Kind regards

    BearPup

  • Non-stop loading wheel

    Hello I have recently updated my laptop to the latest version of windows while I was updating my little brother turned off my computer by chance and now he is in a non-stop loop and said "diagnose your pc" for about 7 hours now its very annoying if you have ways to fix that it would be great Thank you also, I don't know too what day it is and I'm not verygood with computers so very detailed steps would be appreciated

    Hello

    See if that helps you.

    "How to access the Windows Advanced Startup Options 8 or 8.1"

    http://pcsupport.about.com/od/Windows-8/a/open-Advanced-startup-options-Windows-8.htm

    "How Boot for advanced Windows 8 Boot Options and 8.1" . "

    http://www.eightforums.com/tutorials/4935-startup-options-menu-boot-Windows-8-a.html

    There are also detailed here.

    http://www.eightforums.com/tutorials/2843-automatic-repair-run-Windows-8-a.html

    ______________________________________________

    And please read this method:

    "How Boot for"System Recovery Options"in Windows 8 and 8.1" . "

    http://www.eightforums.com/tutorials/2269-system-recovery-options-boot-Windows-8-a.html

    See you soon.

  • I try to use the test creative cloud on a PC windows 8.1 software - I downloaded and removed Photoshop CC 2014 twice - whenever I open the file it says there is a problem and it stops and closes. I can open indesign and perhaps others ap

    I try to use the test creative cloud on a PC windows 8.1 software - I downloaded and removed Photoshop CC 2014 twice - whenever I open the file it says there is a problem and it stops and closes. I can open indesign and maybe other apps but photoshop doesn't. Any ideas?

    What is the detailed crash report saying (check the system event viewer)?

    And you have updated your website of the manufacturer of the GPU video card driver?

  • Need help with work flow problem: a single e-mail notification non-stop.

    Hello

    We have created an approval Workflow custom PO based on the standard PO approval workflow and we had it for awhile now. Last week, we had a problem where the notification keeps on sending e-mail to suppliers and buyers. We discovered that the notification_id given in table WF_NOTIFICATIONS keeps having updated by the minute affecting the MAIL_STATUS Invalid then SENT back, then back to INVALID again and so on. We think that what is updated in this table is the cause, but so far we have not found what is updated. Here are a few of our instance.

    Oracle Applications: 11.5.10.2
    Database: 10.2.0.4 64bits
    OPERATING SYSTEM: AIX
    Custom workflow based on the 115.127.11510.16 review

    Customizations:
    -Created in custom notification that xx_email_po_pdf_supp based on EMAIL_PO_PDF_SUPP.
    -Creation of custom message XX_EMAIL_PO_PDF based on EMAIL_PO_PDF.
    -Added #WFM_CC to XX_EMAIL_PO_PDF.
    -Creating custom attribute XX_PO_WF_EMAIL_PERFORMER and set as an interpreter to the XX_EMAIL_PO_PDF_SUPP notification.
    -Created the custom XX_ADDTL_STARTUP_VAL function right after "Set Workflow start values of service." This function sets the #WFM_CC attribute and the XX_PO_WF_EMAIL_PERFORMER attribute.

    Not sure if the customizations have nothing to do with the question since not all POs have this problem. Anyone have this experience? Appreciate help with this.

    Thank you
    Allen

    Just to review this thread, can help you
    Workflow Notification Mailer is Spamming accounts of e-mail users [1293792.1 ID]
    Thank you

  • Auto scroll has stopped working in Firefox 3.6.28 for Mac OS 10.4

    I have two desktops Mac G4 and have always had automatic scrolling in Firefox. Now the feature no longer works. I do not remember recently updates to Firefox, but cannot go beyond my current version, 3.6.28 because the machines are not Intel.

    Automatic scrolling is very useful. I tried to check the preferences... AutoScroll is checked. I tried to restart. No luck. I can not start safe mode because there is no option for this.

    If there is any fix for this, it is not apparent on the Firefox help site.
    So any suggestion that would restore this feature will be very appreciated. It doesn't seem to be a plug-in, or and add - we. My feeling is it may be a necessary process... but I have no idea how to do that. Yet once, help restore the popular auto-scroll. He worked for years... all I had to do was press the central button of the mouse. He could go slow and faster. Now what happens when I press the middle button, it's that I get my apps dashboard. Hmm.

    Thank you!

    No need to do safe mode, what I discovered the problem seems to be in the control panel mouse settings. Deactivation of these brought AutoScroll - Hooray! Although I don't exactly remember to change all settings before automatic scrolling stops working.

    That, in any case was the apparent difficulty. Hope this helps someone else's similar problem

  • T410 AiO customer CAPS, NUM, and scroll keyboard stop does not work with PCoIP view desktop computers

    We have problems with our t410 AiO customers, where the CAPS, NUM and scroll stop lights on the keyboard do not work with view PCoIP desktop computers.

    I found the below information and a work around:
    If you use the Protocol PCoIP to display on a client system Ubuntu 10.04, the CAPS Lock, NUM Lock, and Scroll Lock lights on your keyboard do not work with desktop view. Although the lights do not work, the keys themselves work.
    Solution: Set the following configuration in a configuration file, such as/etc/vmware/config:
    mks.keyboard.useXkbSetNamedIndicator = 'TRUE '.

    The problem is this difficulty is already in place via the latest version of the HP, Z6A440, software that is installed within our Organization.

    What I discovered, is that the model that we initially bought for the test doesn't have this problem.  However, the models that we ordered since that time, DO have the problem and the solution above does not work as expected.

    The model originally ordered for test is still a customer of IOA t410... but there are 4 "under models' for customers of IOA t410... that we have to test is a H2W20AA, while those we receive and distribution are the H2W21AA model.

    No idea why, when connected to the desktop from view, that models of H2W21AA have this problem?

    H2W20AA is with Teradici PCoIP optimized, which can support PCoIP better, but H2W21AA is not with Teradici. That's the difference.

    However, the issue that you are experiencing does not matter in fact, we have not heard of this problem before. I would suggest that you do the following to see if there is no change:

    1. Go to download the latest VMware View 2.3.4 for t410, follow the instructions to install.
    2. If suggestion 1 does not work for you, try to connect to another VM group or set up a new machine virtual clean
    3. Call HP service center to save your problem for further investigation if the suggestion above did not work

  • BB10: ListView problem background elements

    Hi guys,.

    I have a listview which elements have origins are different colors (see figure). Each element background color depends on a specific element of the element in the data model (say ListItemData.color).

    But for some reaason, when I scroll to the bottom of the list and scroll to the top, the background changes color. I do not understand this weird behavior.

    People you have an idea about what is happening on or at least how to solve?

    Thank you!

    Hi all

    I solve it by doing this:

    Label
    {
        visible: false
        text: ListItemData.id
    
        onTextChange:
        {
            root.background = ListItemData.color;
        }
    }
    

    It's not elegant at all, but at least it works. The 'id' the ListItem is the only single member. So evertytime this invisible label text changes with the new id, it resets the background for that particular item.

    It is a pity I have to use such a solution for this problem.

    Thank you all!

Maybe you are looking for