android asyncTask dialog Circle
<p>I been searching all day today trying for find some example code or tutorials how to create a progress circling while the task is being done. The time for this task to complete is vary accordingly and there are lots of samples out there that are using the Thread.sleep(xxxx) make it circling but this is not efficient. Here is what I want to do, I want to load a ListView that populated from a web service using JSON after a button is clicked. The listview is loading up perfectly fine, but it take about 5-10 seconds to load up depending on the size, so I want to show the spinning circling while the user is waiting. Can someone please share some sample code on how to achieve that? </p>

<p>Thank you</p>
