title: Unable to set an icon in a listview
body: <p>I'm new to android programming. I created a ListView and tried setting an icon for each list item using simple adapter. I'm not familiar with viewbinder, so i tried calling super.setImageView and super.setTextView methods from the getview method in the adapter class, but only the icons get displayed not the text. </p>
  
  <p>This is my xml:</p>
  
  <pre><code>&lt;RelativeLayout android:layout_width="match_parent" 
      android:id="@+id/relativeLayout1"
      android:layout_height="fill_parent"&gt;
          &lt;TextView android:layout_height="wrap_content" 
              android:layout_width="wrap_content" 
              android:text="@string/folder_label"
              style="@style/textViewStyle"
              android:id="@+id/textView" 
              android:layout_alignParentRight="true" 
              android:layout_alignParentLeft="true" 
              android:layout_alignParentTop="true"
              android:paddingTop="20dp"
              android:paddingBottom="20dp"&gt;&lt;/TextView&gt;
           &lt;ImageView android:id="@+id/avatar"
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:layout_marginRight="6dip"
              android:src="@drawable/icon"&gt;&lt;/ImageView&gt;
           &lt;ListView android:layout_height="wrap_content" 
              style="@style/listViewStyle"
              android:listSelector="@drawable/list_selector"
              android:layout_width="wrap_content" 
              android:id="@+id/listView" 
              android:layout_marginTop="65dp"`
  </code></pre>
  
  <p>This is my Activity class</p>
  
  <pre><code>ListView lView = (ListView) findViewById(R.id.listView);
      TextView iView = (TextView) findViewById(R.id.textView);
      optionsArray = getResources().getStringArray(R.array.optionsArray);
  
      msgMenu = new ArrayList&lt;HashMap&lt;String, Integer&gt;&gt;();
      HashMap&lt;String, Integer&gt; msgOptionsMap = new HashMap&lt;String, Integer&gt;();
      for (int i = 0; i &lt; 7; i++) {
  
          msgOptionsMap.put(optionsArray[i], (Integer) mThumbIds[i]);
  
      }
      msgMenu.add(msgOptionsMap);
  
      lView.setAdapter(new OptionsAdapter(context, msgMenu,
              android.R.layout.simple_list_item_1, optionsArray, mThumbIds));
  </code></pre>
  
  <p>The getView method inside the adapter</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent) {
          ImageView view = new ImageView(context);
          TextView tv = new TextView(context);
          if (convertView == null) {
              // view.setImageResource(mThumbIds[position]);
              super.setViewImage(view, mThumbIds[position]);
              super.setViewText(tv, msgOptions[position]);
  </code></pre>