Remove ListView footer Click Listener

Viewed 3166

ListView Footer

RelativeLayout listFooterView = (RelativeLayout) inflater.inflate(
            R.layout.my_footer_layout, null);
getListView().addFooterView(listFooterView);

ListView OnClickListener

listView.setOnItemClickListener(new OnItemClickListener() {

        @Override
        public void onItemClick(AdapterView<?> arg0, View arg1,
                int position, long id) {
            // TODO Auto-generated method stub
            Intent i = new Intent(getApplicationContext(),
                    Abc.class);
            startActivity(i);

        }
    });

On Click Listener works even if I click on footer View. How to disable click event on for footer.

Thanks in Advance

1 Answers
Related