title: ProgressDialog is deprecated.What is the alternate one to use?
body: <p>I have come across to see that <code>ProgressDialog</code> is now deprecated. What would be alternate one to use in place of that apart from <code>ProgressBar</code>. 
  I am using android studio version 2.3.3. </p>
  
  <pre><code>ProgressDialog progressDialog=new ProgressDialog(this);
  progressDialog.show();
  </code></pre>