Commit e81fce72 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Re-enable the context menu

parent 00c91d6b
......@@ -87,7 +87,6 @@ public class VideoListActivity extends SherlockListFragment implements ISortable
mThumbnailerManager = new ThumbnailerManager(this);
setListAdapter(mVideoAdapter);
//getListView().setOnCreateContextMenuListener(contextMenuListener);
}
@Override
......@@ -101,6 +100,12 @@ public class VideoListActivity extends SherlockListFragment implements ISortable
return v;
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
getListView().setOnCreateContextMenuListener(contextMenuListener);
}
@Override
public void onPause()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment