What is the best way to show a loading spinner while the app is waiting for a response from the server?
Can this be done programmatically? So that I don\'t have to a
Use ProgressDialog
ProgressDialog.show(Context context, CharSequence title, CharSequence message);
However this is considered as an anti pattern today (2013): http://www.youtube.com/watch?v=pEGWcMTxs3I