ActionBarSherlock and FragmentTabsPager

前端 未结 2 546
抹茶落季
抹茶落季 2021-02-04 19:32

As a lot of people have been doing so far, I\'m implementing the FragmentTabsPager into my app, which is using ActionBarSherlock 4.0. However, I\'m lost.

Fragments, and

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-04 20:12

    I have ported the FragmentTabsPager Activity and associated Fragments from "Support4Demos" (Android Support library sample) to use ActionBarSherlock and true ActionBar Tabs. The sample includes an Activity that uses both a ViewPager and Tabs to switch between Fragments. The Fragments contain three kinds of ListViews. I've tested it from ICS down to Eclair (2.1). You can browse or download the code at http://code.google.com/p/sherlock-demo/.

提交回复
热议问题