HTC Hero Mouse Ball click not working on Custom ListView?
- by UMMA
dear friends,
i have created custom list view using
class EfficientAdapter extends BaseAdapter implements
{
private LayoutInflater mInflater;
private Context context;
public EfficientAdapter(Context context) {
mInflater = LayoutInflater.from(context);
this.context = context;
}
public View getView(final int position, View convertView,
ViewGroup parent) {
ViewHolder holder;
convertView = mInflater.inflate(R.layout.adaptor_content, null);
convertView.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
}
});
}
and other necessary methods... also
}
using touch screen when i click on list item OnClickListener of list item is called.
but when i use Mouse Ball / Track Ball (Phone Hardware) to click on ListItem OnClickListener of list item is not called.
can any one guide me is this Phone bug or My Fault?
any help would be appriciated.