title: How to show ProgressBar and make it progress?(Xamarin.Android)
body: <p>I call a web service which gets 4 files, and while these files are loading I want to show progress to the user (circular or horizontal it doesn't matter). I've followed the examples on internet but nothing appears on screen.</p>
  
  <pre><code>MobileSellReference.Service1 service = new MobileSellReference.Service1();
  service.Url = settings.Synchronization.Msellurl;
  ProgressBar progressBar = FindViewById&lt;ProgressBar&gt;(Resource.Id.progressBar);
  progressBar.Max = 100;
  progressBar.Progress = 0;
  byte[][] basedataResult = service.ToPPC(basedataZipName, objectId);
  progressBar.IncrementProgressBy(25);
  byte[][] dutybasedataResult = service.ToPPC(dutybasedataZipName, objectId);
  progressBar.IncrementProgressBy(25);
  byte[][] tranbasedataResult = service.ToPPC(tranbasedataZipName, objectId);
  progressBar.IncrementProgressBy(25);
  byte[][] vendbasedataResult = service.ToPPC(vendbasedataZipName, objectId);
  progressBar.IncrementProgressBy(25);
  </code></pre>
  
  <p>I've found a lot of examples using external progressbar libraries but they all want to change the theme of the <code>Activity</code>. Instead I want some simple <code>ProgressBar</code> built into <code>Xamarin.Android</code>. For example when the first file is downloaded I want 1/4 of the circle to be filled, when 2 files are downloaded 1/2 of the circle to be filled et cetera. Similarly for a horizontal <code>ProgressBar</code>.</p>