List<String> listStr=new ArrayList<String>();
for (int i = 0; i < list.size(); i++) {
listStr.add(list.get(i).getSimpleName().replace("Fragment",""));
}
setListAdapter(new ArrayAdapter<String>(getActivity(),android.R.layout.simple_list_item_1, listStr));
<BUG>}
@Override</BUG>
public void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
getActivity().setTitle((String)getListAdapter().getItem(position));

List<String> listStr=new ArrayList<String>();
for (int i = 0; i < list.size(); i++) {
listStr.add(list.get(i).getSimpleName().replace("Fragment",""));
}
setListAdapter(new ArrayAdapter<String>(getActivity(),android.R.layout.simple_list_item_1, listStr));
}
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
@Override
public void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
getActivity().setTitle((String)getListAdapter().getItem(position));
