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.
source share