title: Android HashMap and SimpleAdapter - concatenating strings
body: <p>I have a hashmap that I am loading into a simple adapter</p>
  
  <pre><code>public static ArrayList&lt;HashMap&lt;String, String&gt;&gt; songsList = new ArrayList&lt;HashMap&lt;String,    String&gt;&gt;();
  
  ....
      musiclist = (TextView) getView().findViewById(R.id.checkTextView);
      filelv = (ListView)getView().findViewById(R.id.FileList);
      filelv.setItemsCanFocus(false);
      filelv.setChoiceMode(AbsListView.CHOICE_MODE_MULTIPLE);
  
      //if (trackcount&gt;previousTrackCount){
      ListAdapter playlistadapter = new SimpleAdapter(getActivity().getApplicationContext(), songsList, R.layout.file_view,
                  new String[] { "songTitle","songAlbum", "songPath" }, new int[] { R.id.checkTextView, R.id.text2, R.id.text3 });
      filelv.setAdapter(playlistadapter);
  </code></pre>
  
  <p>This works perfectly, giving me all three values displayed in my listview.</p>
  
  <p>However...
    I want to be able to concatenate strings so that the second row of the each list item is as follows</p>
  
  <p>songAlbum(songArtist)</p>
  
  <p>e.g. There is Noting Left to Lose (Foo Fighters)</p>
  
  <p>When i change the ListAdapter to the following, the second row is just blank</p>
  
  <pre><code>ListAdapter playlistadapter = new SimpleAdapter(getActivity().getApplicationContext(), songsList, R.layout.file_view,
                  new String[] { "songTitle","songAlbum" + "(" + "songArtist" + ")", "songPath" }, new int[] { R.id.checkTextView, R.id.text2, R.id.text3 });
  </code></pre>
  
  <p>I have test all strings to ensure that they contain data.</p>
  
  <p>Suggestions please!</p>