title: android + custom list view
body: <p>i am trying to make a custom list view and was following this post
  <a href="http://saigeethamn.blogspot.in/2010/04/custom-listview-android-developer.html" rel="nofollow">http://saigeethamn.blogspot.in/2010/04/custom-listview-android-developer.html</a></p>
  
  <p>the list view accepted the custom row.. but only displays the first item... none of the rest.. so what is the mistake? thanks in advance.. </p>
  
  <pre><code> public class ActionBarSearchView extends ListActivity {
   @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.forummainpage);
  
          SimpleAdapter adapter = new SimpleAdapter(
                  ActionBarSearchView.this,
                  list,
                  R.layout.customlistrowview,
                  new String[] {"Title","Tags","Date","Author"},
                  new int[]{R.id.Title,R.id.Tags,R.id.Date,R.id.Author});
          populateList();
          setListAdapter(adapter);
   }
    static final ArrayList&lt;HashMap&lt;String,String&gt;&gt; list = new ArrayList&lt;HashMap&lt;String,String&gt;&gt;();
    private void populateList()
      {
          HashMap&lt;String,String&gt; temp = new HashMap&lt;String,String&gt;();
          temp.put("Title","android an Immersive Journey");
          temp.put("Tags", "android");
          temp.put("Date", "2 years");
          temp.put("Author", "xyz");
          list.add(temp);
  
          HashMap&lt;String,String&gt; temp1 = new HashMap&lt;String,String&gt;();
          temp.put("Title","android an Immersive Journey");
          temp.put("Tags", "android");
          temp.put("Date", "2 years");
          temp.put("Author", "xyz");
          list.add(temp1);
  
          HashMap&lt;String,String&gt; temp2 = new HashMap&lt;String,String&gt;();
          temp.put("Title","android an Immersive Journey");
          temp.put("Tags", "android");
          temp.put("Date", "2 years");
          temp.put("Author", "xyz");
          list.add(temp2);
  
          HashMap&lt;String,String&gt; temp3 = new HashMap&lt;String,String&gt;();
          temp.put("Title","android an Immersive Journey");
          temp.put("Tags", "android");
          temp.put("Date", "2 years");
          temp.put("Author", "xyz");
          list.add(temp3);
  
          HashMap&lt;String,String&gt; temp4 = new HashMap&lt;String,String&gt;();
          temp.put("Title","android an Immersive Journey");
          temp.put("Tags", "android");
          temp.put("Date", "2 years");
          temp.put("Author", "xyz");
          list.add(temp4);
      }
  </code></pre>