I want to toast Text of selected list item in ListView. I'm using Custom Adapter. I tried this code. 

```
@Override
public boolean onItemLongClick(AdapterView<?> parent, View view,final int pos,
        final long id) {
    String text=String.valueOf(lv.getItemAtPosition(pos));
    Toast.makeText(getActivity(), text, Toast.LENGTH_SHORT).show();
  }

```

But it's Toasting Object name like `com.demo.CustomList@413ffb10`. Can anyone tell me how to Toast respective item?

**Note: The above code works for Simple Adapter,but not for Custom Adapter**