Alternatives to Sliding Drawer

1

I was going to use SlidingDrawer in my app but I saw that it appears to me as obsolete and that it probably causes problems in the next versions of android and I would like to know what are the options available in the Android SDK or that third-party libraries recommend me to be similar ...

    
asked by Sneyder Angulo 15.06.2016 в 03:55
source

1 answer

2

It's obsolete since you now have NavigationDrawer

Previously it was used continuously along with AndroidSherlock which is also obsolete from API 17.

It is recommended to use NavigationDrawer as it is contained in Android support library so you can cover the vast majority of previous APIs and is optimized.

It is best to use the DrawerLayout that contains the NavigationDrawer, if you try to use SlidingDrawer You will find problems when implementing it and in the end you will end up replacing it.

In this link you can see an example of how to add a DrawerLayout and even add an ExpandableListView.

    
answered by 15.06.2016 в 03:57