title: how can i perform onclick action on listview?
body: <pre><code>   I have designed a custom listview. In that view i have one textview and two edittext fields. when i am clicking on the individual rows in listview that perform another activity(i.e another page will open). But i cannot perform onclick action on my listview.
  </code></pre>
  
  <p>i have wrote some code but its not working. i have shown that code as below.</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState){
         super.onCreate(savedInstanceState);
         setContentView(R.layout.sharefolioedit);
  
         getList();
             lv.setAdapter(new EfficientAdapter(this));
              lv = getListView();
      lv.setClickable(true);
               lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
        public void onItemClick(AdapterView&lt;?&gt; parentView, View childView,
        int position, long id) {
        Intent intent = new Intent(CategoryList.this,AddSubCategoryList.class);
        startActivity(intent);
  
        }
  
         }
  </code></pre>