I have a ListView that retrieves its data from the web. I want the ListView to show a spinning progress bar while it's retrieving data from the web and if there is no data fetched, I want to show a simple text 'No Data', else it will display the fetched data.
I looked for examples every where and even Google suggests using the Progress Bar as the empty view for the list. (See this example)
Doesn't really make sense as I require a Loading View + Empty View. Is there any example out there that describes how to do this? Or maybe anyone can clarify the proper steps to implement this?