Commit Graph
21 Commits
Author SHA1 Message Date
topjohnwu 3681177be4 Rename fragment layouts 2017-01-25 17:07:23 +08:00
topjohnwu ad16a6fc1b Project restructure 2017-01-25 04:33:22 +08:00
tonymanou a718f9bbfd Unbind Butterknife-injected views in fragment's onDestroyView() 2017-01-15 02:37:40 +08:00
tonymanou ae74d54451 Events should be final in order to work 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
tonymanou 0b59bb1a29 Do not let magisk hide's apps list blink 2017-01-11 15:17:49 +08:00
tonymanou c1e7d74b96 Reapply filter when reloading app list 2017-01-11 15:17:49 +08:00
tonymanou 989d8181dd Do not store context in magisk hide adapter, remove unused code 2017-01-11 15:17:49 +08:00
tonymanou cffc157d98 Remove useless mView field from fragments 2017-01-11 15:17:49 +08:00
tonymanou 2a70619577 Improve magisk hide app list's adapter, better thread safety 2017-01-11 15:17:49 +08:00
topjohnwu 442fcf921c Change SafetyNet check to manual start 2017-01-07 01:19:18 +08:00
topjohnwu fb0923f3ab Magisk Hide fragment improvements 2017-01-07 00:29:53 +08:00
Wang Han 53aebcfb1e Fix MagiskHide Fragment Crash when freshing 2017-01-06 02:43:16 +08:00
topjohnwu 57af984e68 Add status fragment 2016-12-27 04:41:00 +08:00
topjohnwu 8c077a7373 Change search to async for smoother UI 2016-11-20 18:54:28 +08:00
topjohnwu f69facc842 Case insensitive 2016-11-12 01:02:09 +08:00
topjohnwu e17638bc06 Add search to MagiskHide 2016-11-11 21:45:03 +08:00
topjohnwu 436b0624e7 Seperate adapters into a package 2016-11-08 00:09:08 +08:00
topjohnwu 23adcb544b MagiskHide Fragment complete refactor 2016-11-07 07:12:40 -06:00
d8ahazard 1ec333ee5a Cleanup 2016-11-07 07:12:40 -06:00