title: Android: SeekBar onProgressChanged-event doesn't get fired when setting progress programmatically
body: <p>My onProgressChanged()-event doesn't get fired when I set the progress of a SeekBar programmatically, but it does get fired perfectly fine when I physically move the SeekBar slider.</p>
  <p>I'd expect the event to fire when using setProgress() - the Android Developer Reference even states that:</p>
  <blockquote>
  <p>public abstract void onProgressChanged (SeekBar seekBar, int progress, boolean fromUser)</p>
  <p><em>Notification that the progress level has changed. Clients can use the fromUser parameter to distinguish user-initiated changes from those that occurred programmatically.</em></p>
  </blockquote>
  <p>Some code snippets from my project:</p>
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.my_activity);               
  
      final SeekBar mySeekBar = ((SeekBar) findViewById(R.id.mySeekBar));
      
      mySeekBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener(){
          @Override
          public void onProgressChanged(SeekBar arg0, int arg1, boolean arg2) {
              // Do some stuff
          }
      }
  }
  
  
  @Override
  protected void onResume() {
      super.onResume();
  
      final SeekBar mySeekBar = ((SeekBar) findViewById(R.id.mySeekBar));
      mySeekBar.setProgress(someValue); // This SHOULD trigger onProgressChanged(), but it doesn't...
  }
  </code></pre>