I'm extending the class SherlockListFragment
Inside this class I'm calling getListView() for retrieving the ListView related to my Fragment.
Below is shown the signature of the method getListView() that I'm using:
ListView android.support.v4.app.ListFragment.getListView()
The problem is that I want call setVerticalScrollbarPosition() over this ListView, but my project has minSDK = 7, so the following code:
getListView().setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_LEFT);
gives me the error:
- Call requires API level 11 (current min is 7): 
     android.widget.ListView#setVerticalScrollbarPosition
How can I use this method, in order to work also in system with API level < 11 and > 7 ?
NOTE: I don't want use @suppressLint