Thursday 17 May 2012

How to Call Listview Footer controls Event in android


View footerView = ((LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.footer, null, false);
list.addFooterView(footerView);
ImageButton all=(ImageButton)footerView.findViewById(R.id.imageButton1);
all.setOnClickListener(this);

No comments:

Post a Comment