title: How to use SimpleAdapter.ViewBinder?
body: <p>I have a list with a complex layout <code>R.layout.menu_row</code>. It consists of a <code>ProgressBar</code> and a text field. The adapter I use:</p>
  
  <pre><code>   SimpleAdapter simpleAdapter = new SimpleAdapter(this, getData(path),
              R.layout.menu_row, new String[] { "title", "progress" },
              new int[] { R.id.text1,R.id.progressBar1});
  </code></pre>
  
  <p>The adapter knows how to handle <code>TextViews</code> by it self but not <code>ProgressBars</code>, so I wrote a complex data binder:</p>
  
  <pre><code>    SimpleAdapter.ViewBinder viewBinder = new SimpleAdapter.ViewBinder() {
          @Override
          public boolean setViewValue(View view, Object data, String textRepresentation) {
              //here goes the code
              if () {
                  return true;
              }
              return false;
          }
  </code></pre>
  
  <p>Now I'm stuck filling the mapping inside the function. I need to set the value of string <code>progress</code> to the <code>setProgress</code> method of the <code>ProgressBar</code>. But I don't get a handle to string <code>progress</code> and to the <code>ProgressBar</code>.</p>