How Create Setadapter() For A Alertdialog
I created a CustomDialogBuilder that extends Dialog... I want to create the method setApater().. I created that section but the onClick method on the adapter is not working.. My cu
Solution 1:
hureyyy...... got the answer........
change the setAdapter function in our CustomDialog class... as
public Builder setAdapter(ListAdapter adapter,DialogInterface.OnClickListener listener)
{
this.adapter=adapter;
this.adapterListener=listener;
returnthis;
}
Post a Comment for "How Create Setadapter() For A Alertdialog"