lv1 = (ListView) rootView.findViewById(R.id.lvItems);
lv1.setClickable(true);
lv1.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
// selected_position_list = lv1.getFirstVisiblePosition();
// long lv_id = parent.getItemIdAtPosition(position);
Intent intent = new Intent(getActivity(), ***.class);
if (activity != null) {
activity.startActivity(getActivity());
}
}
});