The same SlidingDrawer in all actions?

I have a slidingDrawer in my application that contains links to which all actions should be accessible. Is it possible to create one slidingDrawer and extend it to all actions? Any example would be very helpful.

+4
source share
1 answer

I think it would be best to create a parent class with all the drawer logic. The parent class will expand activity and make sure to set / fill the sliding box, the data can be singleton to avoid duplicate downloads. Then all your actions will expand your SlidingDrawer activity and do your best.

+1
source

Source: https://habr.com/ru/post/1390145/


All Articles