Commit Graph

24 Commits

Author SHA1 Message Date
tonymanou
21b00ac6ca Use try-with-resources in some places 2017-01-15 02:37:40 +08:00
tonymanou
a718f9bbfd Unbind Butterknife-injected views in fragment's onDestroyView() 2017-01-15 02:37:40 +08:00
tonymanou
dc316c5669 Set fragment title and [un]register callbacks in onStart/onStop
onStart() is called when the fragment is made visible, whereas onPause()
is called when the fragment looses focus e.g. if a dialog is shown.
Thus:
- there is no need to set the activity's title everytime the fragment
regains focus,
- it is better to listen to event tasks and refresh the state of the UI
while the fragment is actually visible, listening to events until the
fragment is destroyed is useless: if an event is received between
onStop() and onDestroy(), there will be some processing but nothing will
be shown because the fragment is no longer visible.
2017-01-15 02:37:40 +08:00
tonymanou
e9f04256c9 setHasOptionsMenu() should be called from fragment's onCreate() 2017-01-15 02:37:40 +08:00
topjohnwu
57af984e68 Add status fragment 2016-12-27 04:41:00 +08:00
topjohnwu
0a37d1c15c Merge UI code into async 2016-11-08 00:04:22 +08:00
topjohnwu
793269731d Fix and tweaks for MagiskHide 2016-11-07 23:59:10 +08:00
topjohnwu
70500cf21e Add search bar & Magisk Hide option 2016-10-17 10:11:26 +08:00
dvdandroid
d788bd8323 UI Fixes
+ Adjusted dark theme colors
+ Moved setting to an activity
+ Code format
+ Changed some icons
+ Minor fixes
2016-10-01 01:02:24 +08:00
topjohnwu
9eb108f13e More cleanups 2016-09-30 18:22:43 +08:00
topjohnwu
e4cba70008 Ready for release 2016-09-29 23:24:31 +08:00
topjohnwu
160c6e6554 Stupid fix... 2016-09-28 00:36:58 +08:00
topjohnwu
a173179b03 Final fix for flash zip 2016-09-28 00:33:01 +08:00
d8ahazard
2052149dc1 Moar work on dark theme 2016-09-26 02:28:12 +08:00
topjohnwu
89932b325d Update busybox; Improve environment setup 2016-09-25 21:31:38 +08:00
d8ahazard
3de13a4d9e Refactor, cleanup, backstack works 2016-09-23 16:22:11 -05:00
d8ahazard
41a5639711 Whoop whoop 2016-09-21 16:55:20 -05:00
d8ahazard
8176fb7bad WIP Tile stuff 2016-09-20 17:01:20 -05:00
d8ahazard
6a40e18193 More work on Quick Settings, refactoring 2016-09-20 11:36:33 -05:00
d8ahazard
041531e96d More cleanup, add native filepicker
Code cleanup, add filepicker lib to avoid issues with stock file apps.
2016-09-09 23:40:57 -05:00
topjohnwu
e21131d67e Zip Autoflash; Massive refactor 2016-08-29 06:35:07 +08:00
topjohnwu
dc06a132bc Finalize 2.0 version 2016-08-25 18:08:07 +08:00
topjohnwu
a5ea214553 Rewrite all root method with own su library 2016-08-25 05:58:15 +08:00
topjohnwu
7bf83371d5 Add root fragment and refactor 2016-08-23 05:42:47 +08:00