@Override
 public void onItemClick(
     final AdapterView<?> parent, final View view, final int position, final long id) {
   final Student student = mAdapter.getItem(position);
   final Intent intent = new Intent(getActivity(), HSProfileActivity.class);
   intent.putExtra(Constants.STUDENT, student);
   startActivity(intent);
 }
 @Override
 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) {
   mAdapter.swapCursor(data);
   if (data == null || data.getCount() <= 0) {
     showEmpty();
   } else {
     showList();
   }
 }
 @Override
 public void onLoaderReset(final Loader<Cursor> loader) {
   mAdapter.swapCursor(null);
 }