Refine drawer item ids

This commit is contained in:
Mygod
2016-12-28 01:50:18 +08:00
parent c1c15f5361
commit bc7c29c3e3
@@ -54,10 +54,9 @@ object MainActivity {
private final val REQUEST_CONNECT = 1
private final val DRAWER_PROFILES = 0L
// sticky drawer items have negative ids
private final val DRAWER_RECOVERY = -1L
private final val DRAWER_GLOBAL_SETTINGS = -2L
private final val DRAWER_ABOUT = -3L
private final val DRAWER_GLOBAL_SETTINGS = 1L
private final val DRAWER_RECOVERY = 2L
private final val DRAWER_ABOUT = 3L
}
class MainActivity extends Activity with ServiceBoundContext with Drawer.OnDrawerItemClickListener