Difference between ActionBarSherlock and ActionBar Compatibility

后端 未结 7 1899
庸人自扰
庸人自扰 2020-11-28 00:39

What is the difference between ActionBarSherlock and Action Bar Compatibility

Fews days ago Google just released the ActionBar Compatibility that make me so confused

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 01:06

    Maybe we should update the answer because google published offical Actionbar support since API18?

    block below is from offical blog about these two libraries:

    If you’re using a third-party solution (such as ActionBarSherlock), there are a few reasons to consider upgrading:

    • Can be kept updated as the Action Bar API evolves.
    • Integrated Ancestral Navigation support.
    • Use of framework Menu and MenuItem classes.
    • Continue to use the Support Library's Fragment class.
    • Integrated support for ActionBarDrawerToggle for use with DrawerLayout.
    • Backport of PopupMenu.

    ActionBarSherlock is a solid and well-tested library which has served developers very well for a long time. If you are already using it and do not currently require any of the above then there is no need to migrate.

提交回复
热议问题