title: ProgressDialog is now deprecated
body: <p>The Progress Dialog is deprecated now for android O. 
  What is the solution for this? </p>
  
  <p>I am getting below warnings . In My project </p>
  
  <pre><code>Warning:(6, 20) 'Progress Dialog' is deprecated. Deprecated in Java
  Warning:(72, 43) 'Progress Dialog' is deprecated. Deprecated in Java
  Warning:(89, 27) 'Progress Dialog' is deprecated. Deprecated in Java
  </code></pre>
  
  <p>I didn't find solution for the same problem.</p>