What is the difference between the SlidingMenu library and the Android Navigation Drawer?

后端 未结 4 1547
暗喜
暗喜 2021-02-04 04:05

The SlidingMenu library is an excellent third party library and I\'ve already used it for a long time. Now I know Android provides a new navigation pattern using Navigation Draw

4条回答
  •  甜味超标
    2021-02-04 04:22

    SlidingMenu library is a third party api which uses a RelativeLayout inside. The main advantage is customization according to your requirement. Buy your layouts have to be based on a viewgroup, unfortunatly this negates the optimisations.

    Navigation Drawer is available in the Support Library of android it uses DrawerLayout inside. The main advantage is improved performance.

提交回复
热议问题