I\'m getting the following error: \"The method getSupportFragmentManager() is undefined for the type new View.OnClickListener(){}\" in my fragment
In case anyone is using SherlockActivity instead of SherlockFragment just extend the activity to SherlockFragmentActivity.
SherlockActivity
SherlockFragment
SherlockFragmentActivity