How to get currently visible fragment from activity when using holoeverywhere slider addon?
问题 I want to know how to perform these actions in holoeverywhere: Get reference to the currently visible and active fragment from the activity when using slider addon in combination with tabber. Get reference to TabsTabsSwipeFragment from the activity/other fragments and dynamically disable/enable swiping. 回答1: For getting the current active and visible Fragment, it's my understanding that HoloEverywhere uses Android's Support Library. Try something similar to "get currently displayed fragment."