title: blackberry 10 cascades Activity Indicator for listview
body: <p>I have a List view in bb 10 App, where i need to show data read from server. I am able to do that.but the problem here is ,It is taking some delay to read the data from server and show it on List view. Now i want to notify the user with meaning full text "Please wait ..." in Activity Indicator until the data is shown and disappear the  Activity Indicator As soon as data is shown in List view.</p>
  
  <pre><code>Container {
          objectName: "root"
          id: root
  
          ActivityIndicator {
              id: myIndicator
              preferredWidth: 500
          }
          Button {
              text: "Start"
              onClicked: {
                  if (! myIndicator.running) {
                      // Start the activity here.
                      myIndicator.start();
                      text = "Stop";
                  } else {
                      // Stop it here
                      root.activityDone();
                      text = "Start"
                  }
              }
          }
          // This function is called when the activity is done.
          function activityDone() {
              myIndicator.stop();
          }
      }
  </code></pre>
  
  <p>I found a small example like this...How can i show test like "Please wait" and make it Disappear once the data is shown in list view.</p>
  
  <p>Thank you!!! </p>