title: OnItemClick listener not working in Custom ListView
body: <p>I have created a custom list view and created my own adapter class
  I have inflated the view with below code:</p>
  
  <pre><code>@Override
  public View getView(final int position, View convertView, ViewGroup parent) {
      LayoutInflater layoutInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
      View streamrowView = layoutInflater.inflate(R.layout.streamrow, parent,false);
      initUI(streamrowView);
  
      tvUserMsg.setText(values[position].Message);
      tvPostDate.setText(values[position].postDate);
  
      return streamrowView;
  }
  
  
  
      private void initUI(View streamrowView) {
      tvUserMsg = (TextView) streamrowView.findViewById(R.id.tvUserMsg);
      tvPostDate = (TextView) streamrowView.findViewById(R.id.tvPostDate);
  
  }
  </code></pre>
  
  <p>List view is working perfectly, but the set onItemClick listener event is not working</p>
  
  <pre><code>    listView.setOnItemClickListener(new OnItemClickListener() {
  
          public void onItemClick(AdapterView&lt;?&gt; data, View v, int pos,
                  long arg3) {
  
              Toast.makeText(getApplicationContext,  "list clicked" ,1).show();
              System.out.println("*****List clicked!!!");
  
          }
      });
  </code></pre>
  
  <p>is there any other approach for onItemClick listener for custom rows.</p>