I am using SherlockFragment and until today I’ve always used the getActivity() method to get an instance of the activity hosting the fragment. Now I realiced there’s also this method in the SherlockFragment API.. which one should I use?
I am using SherlockFragment and until today I’ve always used the getActivity() method to
Share
Looks like
getSherlockActivityis just a shortcut to: