Commit bc7c29c3 authored by Mygod's avatar Mygod

Refine drawer item ids

parent c1c15f53
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment