This is another simple example of a ListView, but a JavaScript function has been written to handle the onloadingstatechanged event and report the loading state at every change. Being able to integrate with this loading state is rather important. Notice too that each time you scroll the ListView the events fire.