How/where can I view activity indicator when loading new records in listview
Hello
I would like to display a kind of activityindicator when I load more records into my view of the list... IE when atEnd struck in ListView:nScollingChanged(). My question is can I view the ActivityIndicator in the listview control itself or I view wihtin the bottom of the container containing listview?
I don't know there must be a standard way that people go on display an indicator when additional data are retrieved...
Thank you
In the World of Blackberry app in the view by categories:
-A view at the bottom of the list become visible, showing a small LoadIndicator.
But I do not like much because the first loading, the screen is black, and all data that happens then both. A big LoadIndicator to the Center must have been added, as in the home screen.
But this way, we have two indicators of management, which is not cool. I prefer so usually just a big focus indicator, which appears behind the list loading data 'more '.
It's your call. But I like to listen to other choices.
Tags: BlackBerry Developers
Similar Questions
-
product key for windows vista
After launching the recovery cd, request activation and product key is unfortunate. So how / where can I get the product key
See if this helps:-
http://support.Microsoft.com/kb/823570
If she please vote as helpful.
Thank you.
-
ORIGINAL TITLE: Product key
How/where can I find the 25-digit product key requested by Microsoft when I try to open a file on a SanDisk?
The game, June 21, 2012 20:26 + 0000, Faye Barker wrote:
How/where can I find the 25-digit product key requested by Microsoft when I try to open a file on a SanDisk?
What kind of file is it? What is its extension (the characters
After the dot at the end of the file name)? And what program is trying
to open it and needs a product key?Please answer these questions, but I'll also venture a guess: you
try to open a file with Microsoft Word and Word .docx or .doc
request a product key.
If this is the case, in all probability, your computer comes with a trial version
version of Microsoft Office pre-installed. Your trial period is now in place and if
you want to continue using it, you must buy a copy and get a
product key for this.Ken Blake, Microsoft MVP
-
I took a brief look at the questions on the CARDS, but none of these go to the ART GPS end does not. (I'm sure it's somewhere in the support forums, but I found nto).
I have the icon of the WAP on my Blackberry Curve 8520. But when I click it I don't see is a grid nd no card. I checked Options Options/Advanced/cards and it is said by default Blackberry MAPS Service - EU. I also checked the place settings and under GPS Data Source it comes up with a list of all my contacts id bluetooth I suspect this is where it goes wrong, but I can't be sure.
How can I put the correct GPS data source. How/where can I set this up please. ???
Thank you
JJ
Any other ideas as to why the Blackberry connects sometimes to devices and sometimes does not. I saw him sign for a brief moment especially for my GPS dongle. Then fell to new. The signal on the dongle seems it continues to blink.
When I take my BB in my car it instantly takes the car blue tooth
Don't understand why he doesn't connect properly on my GPS unit now.
-
Hey guys, can I still add/sync the devices by using FireFox 30 (including iCHOOSE to use...) and, if so, how/where can I do so (because by clicking the sub-title of the menu "Synchronize" FireFox both the toolbar of the browser "icon to sync" icon NOTHING [other that cause the icon toolbar synchronization annoyingly turn for a fraction of a second before you do anything else...])?
Wow - my computer's clock is very well so I was personally puzzled by the sudden 2033 journal dates too but yes, I will simply record punctually (speaking of that thanks for your) and export my bookmarks to Safari so that iCan go via my iPhone - Bye mozilla. @P_C_T
-
Update of Firefox 4. Realize some websites does not yet work with FF4. How/where can I download the older version of FF?
^ Why post if you don't have the answer to the question?
You can get Firefox here 3.6.16.
http://www.Mozilla.com/en-us/Firefox/all-older.html -
How/where can I find the image masters of my photos in the PHOTOS app?
How/where can I find the image masters of my photos in the PHOTOS app?
Pictures of launch and watch them. If you want to use the somewhere with other software, select them and export the original unmodified in a folder on the desktop and use there
LN
-
How/where can I get an update of DirectX?
UpdatesHow/where can I get an update of DirectX?
Check here--
http://support.Microsoft.com/kb/179113
Tom Ferguson
-
I have a software Key, where can I download the program when the machine has no status of a CD
You can download the appropriate software from here if one of them is the program you are looking for:
Captivate: 8 | 7 | 6 | 5.5, 5 | 1
Contribute CS5 | CS4, CS3 | 3,2
FrameMaker 12, 11, 10, 9, 8, 7.2
Lightroom 5.7.1| 5 | 4 | 3 | 2.7 (win),2.7 (mac)
Photoshop elements 13, 12, 11, 10 | 9, 8, 7
First items 13, 12, 11, 10 | 9
Suites and programs CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 , CS4 Web Standard | CS3
-
Old computer is dead, have the disc Lightroom cannot find the serial number, I got when I bought the software. Where can I get the old one or new to load my software?
Hi Peter,.
Please check the help below document:
Quickly find your serial number
In the case of the volume license product, please visit: site Web of Adobe License | Serial numbers | Orders | Accounts
Kind regards
Sheena
-
Activity indicator for loading data model
Hello
I'm looking in using an activity indicator to show for my list view to load the user (as it takes 2-3 seconds to display list to be filled with data that it receives the files from my server).
Here is my list view & data source:
ListView { id: listView1 dataModel: dataModel1 leadingVisual: [ Container { id: dropDownContainer1 topPadding: 20 leftPadding: 20 rightPadding: 20 bottomPadding: 20 background: Color.create("#212121") DropDown { id: dropDown1 title: qsTr("Date:") + Retranslate.onLocaleOrLanguageChanged Option { id: all text: qsTr("All") + Retranslate.onLocaleOrLanguageChanged selected: true } Option { text: qsTr("23/06/2014") value: "23/06/2014" } Option { text: qsTr("24/06/2014") value: "24/06/2014" } Option { text: qsTr("25/06/2014") value: "25/06/2014" } Option { text: qsTr("26/06/2014") value: "26/06/2014" } Option { text: qsTr("27/06/2014") value: "27/06/2014" } Option { text: qsTr("28/06/2014") value: "28/06/2014" } Option { text: qsTr("29/06/2014") value: "29/06/2014" } Option { text: qsTr("30/06/2014") value: "30/06/2014" } Option { text: qsTr("01/07/2014") value: "July 1 2014" } Option { text: qsTr("02/07/2014") value: "July 2 2014" } Option { text: qsTr("03/07/2014") value: "July 3 2014" } Option { text: qsTr("04/07/2014") value: "July 4 2014" } Option { text: qsTr("05/07/2014") value: "July 5 2014" } Option { text: qsTr("06/07/2014") value: "July 6 2014" } onSelectedIndexChanged: { if (selectedOption == all) { dropDownDataSource1.sQuery = "" } else dropDownDataSource1.sQuery = dropDown1.at(dropDown1.selectedIndex).value; } } } ] listItemComponents: [ ListItemComponent { type: "item" StandardListItem { title: ListItemData.fixtureInfo description: Qt.formatTime(new Date(ListItemData.timestamp * 1)) } } ] onTriggered: { var selectedItem = dataModel1.data(indexPath); var detail = fixtures.createObject(); detail.fixtureInfo = selectedItem.fixtureInfo detail.dateInfo = selectedItem.dateInfo detail.timeInfo = selectedItem.timeInfo detail.timeZone = Qt.formatTime(new Date(selectedItem.timestamp * 1)) detail.courtInfo = selectedItem.courtInfo detail.resultInfo = selectedItem.resultInfo navigationPane1.push(detail) } }
GroupDataModel { id: dataModel1 sortingKeys: [ "dateNumber", "id" ] grouping: ItemGrouping.ByFullValue sortedAscending: false }, DataSource { id: dataSource1 property string sQuery: "" onSQueryChanged: { dataModel1.clear() load() } source: "http://tundracorestudios.co.uk/wp-content/uploads/2014/06/Fixtures.json" type: DataSourceType.Json onDataLoaded: { //create a temporary array tohold the data var tempdata = new Array(); for (var i = 0; i < data.length; i ++) { tempdata[i] = data[i] //this is where we handle the search query if (sQuery == "") { //if no query is made, we load all the data dataModel1.insert(tempdata[i]) } else { //if the query matches any part of the country TITLE, we insert that into the list //we use a regExp to compare the search query to the COUNTRY TITLE (case insenstive) if (data[i].fixtureInfo.search(new RegExp(sQuery, "i")) != -1) { dataModel1.insert(tempdata[i]) //Otherwise, we do nothingand donot insert the item } } } // this if statement below does the same as above,but handles the output if there is only one search result if (tempdata[0] == undefined) { tempdata = data if (sQuery == "") { dataModel1.insert(tempdata) } else { if (data.fixtureInfo.search(new RegExp(sQuery, "i")) != -1) { dataModel1.insert(tempdata) } } } } onError: { console.log(errorMessage) } },
onCreationCompleted: { dataSource1.load() }
In another part of my application, I use an activity indicator to load a webView but I couldn't reshape it for the list view.
The following code works when my webView loads:
WebView { id: detailsView settings.zoomToFitEnabled: true settings.activeTextEnabled: true settings.background: Color.Transparent onLoadingChanged: { if (loadRequest.status == WebLoadStatus.Started) { } else if (loadRequest.status == WebLoadStatus.Succeeded) { webLoading.stop() } else if (loadRequest.status == WebLoadStatus.Failed) { } } settings.defaultFontSize: 16 }
Container { id: loadMask background: Color.Black layout: DockLayout { } verticalAlignment: VerticalAlignment.Fill horizontalAlignment: HorizontalAlignment.Fill Container { leftPadding: 10.0 rightPadding: 10.0 topPadding: 10.0 bottomPadding: 10.0 horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Center ActivityIndicator { id: webLoading preferredHeight: 200.0 preferredWidth: 200.0 horizontalAlignment: HorizontalAlignment.Center onStarted: { loadMask.setVisible(true) } onStopping: { loadMask.setVisible(false) } } Label { text: "Loading Content..." horizontalAlignment: HorizontalAlignment.Center textStyle.fontSize: FontSize.Large textStyle.fontWeight: FontWeight.W100 textStyle.color: Color.White } } }
onCreationCompleted: { webLoading.start() }
Therefore, what I am trying to make is: get the activity indicator to show when the list view is charging and when it's over, for the activity indicator be invisible. Also, if the user doesn't have an internet connection or loses the signal while the data is filling: would it be possible to recover data from a file stored locally instead ("asset:///JSON/Fixtures.json")?
Thanks in advance
With the help of a few other developers I maneged to make everything work properly.
Jeremy Duke pointed out that I would need to use the onItemAdded in my data model of the Group:
onItemAdded: { myActivityIndicator.stop(); myActivityIndicator.visible = false; loadMask.visible = false; searchingLabel.visible = false; }
Adding that, the loading stops when an element has completed the list.
Thanks for your help
-
BlackBerry smartphone how to set the Auto Mode bedside when loading?
Hi guys,.
As the topic. How to set the Auto Mode bedside when loading? Because this option, it does not exist in the clock menu options and I think that it was there before I did the upgrade.
Thanks in advance
9000 "BOLD"
Worm: 9000M_PBr4.6.0_rel508_PL4.0.0.243_A4.6.0.297_AT_amp_T
CTS network provider
solved thanks to you all,.
-
Mr President.
Is it possible that when the new record is inserted in a table then this empty inserted record is automatically displayed without scrolling?
Because I change the size property of the table 5 range and my new record is inserted at no 10.
When I click the addRecord button the new parallel line does not appear, do scroll down to see it.
I want that we don't have to scroll down.
The line is displayed automatically.
as shown in the photo my behavior of page.
Concerning
If you just need the newly created line to be visible,
You can simply set contentDelivery = 'immediate' and displayRow = "selected".
P.S. the blog mentioned above only.
See you soon
AJ
-
How can I view calendar appointment when I'm not in the screen of the calendar?
How to display appointments in the calendar when not in the screen of the calendar.
original title: appointments in calendar viewThere seems to be some gadgets for Vista which can show upcoming appointments, kept in the Windows Calendar. And here's one: http://gallery.live.com/liveItemDetail.aspx?li=a238bbad-9430-43c6-ba4e-21aa8f75c0d2
I also found some references to Google Calendar gadgets so that you can keep Vista calendar in sync with Google Calendar or just use Google calendar directly. http://www.google.com/#hl=en&sugexp=gsih&xhr=t&q=google+calendar+windows+vista+gadgets&cp=32&pq=google%20calendar%20windows%20vista&pf=p&sclient=psy&source=hp&aq=0n&aqi=q-n1&aql=f&oq=google+calendar+windows+vista+ga&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=8a58e93555963d21&biw=1106&bih=706
-
How & where can I shoot video for Skype? and dvd
I don't know anything about this computer or how to find whatever it is how & where do I turn on the camcorder for Skype & dvd
Please make sure that your camera is installed first. Cameras are normally installed when you plug (or are already installed, if it is a portable camera integrated). To check if your camera is installed, go to control panel, search for "peripheral", then click "devices and printers". If your camera is not listed, click on 'Add devices and printers' then find your device in the list.
In Skype, you can check if your device works fine via the tools-> Options menu, then video settings. If everything is OK, you can click on "View my video" when you place a call, or start a new "video call".
Maybe you are looking for
-
Rebuild the recovery partition
Hi all Since my macbook pro in construction since a backup time machine, I have no recovery partition. Not sure if the recovery of time machine is the cause, or that the guy who has this laptop (work) in front of me he erased accidentally. I tried to
-
Trying to keep a message in an e-mail folder, it appeared that the file was missing. When I ran a search by keyword for items that should have been in the folder, all the messages showed, but without confirmation of their folder location. How can I d
-
Satellite A200 - FN keys do not work after upgrade to Windows 7
I recently updated my A200 to Windows 7 32 bit. Since upgrading my FN key no longer works. I can't find the correct driver. Anyone having the same problems? Or anyone with a solution? TKSPraepositus
-
How to run more then 1 event at the same time.
Hello I'm looking for the logic to do start/reset switch. in my case, I made one switch name start pressing that we can start the operation, now I want to same switch for reset average during a performance one can restore the functioning of any time.
-
My race of the used laptop win xp pro, I have MOM who bought her company when they all upgraded and got again. It has never included a Win xp pro disk (it doesn't even have a disk drive, I have to hang it on an external disk drive) but it has the li