@Override
 public void onStop() {
   super.onStop();
   Log.d("zxh", "VideoListFragment onStop");
   if (null != mQueryVideo) {
     mQueryVideo.cancel(true);
   }
 }
  @Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    mVideoAdapter = new VideoListAdapter(getActivity(), null);
    GridView gridView = (GridView) view.findViewById(R.id.gridview);
    gridView.setOnItemClickListener(VideoListFragment.this);
    gridView.setAdapter(mVideoAdapter);
    gridView.setOnItemLongClickListener(new LongClickListener(getActivity(), R.id.video_image));
    mProgress.setVisibility(View.VISIBLE);
    mEmptyView.setText(R.string.dm_no_file_prompt_video);

    ImageWorker worker = ((LanshareApplication) getActivity().getApplication()).getImageWorker();
    gridView.setOnScrollListener(worker.getScrollerListener());

    mQueryVideo = new QueryVideo();
    mQueryVideo.execute();
    Log.d("zxh", "VideoListFragment onViewCreated");
  }
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
 }