topjohnwu
6c6368fd81
Reduce usage of delegation
2020-07-15 01:21:57 -07:00
topjohnwu
7cf3da1b3b
Update implementation to use new methods
2020-07-12 14:35:21 -07:00
topjohnwu
2c12fe6eb2
More efficient databinding
2020-07-12 03:17:50 -07:00
topjohnwu
b41b2283f4
Rename package
2020-07-11 05:36:31 -07:00
topjohnwu
8647ba4729
Remove more RxJava
2020-07-09 04:49:14 -07:00
topjohnwu
18dab28c32
Remove usage of KObservableField
2020-07-08 06:14:32 -07:00
topjohnwu
f191db2fe0
Allow ViewModel to opt-out RxJava
...
Transition period
2020-07-08 01:50:28 -07:00
topjohnwu
dc8f0f6feb
Bug fixes in modules fragment
...
- Progress is not updated in upgradable modules (and can cause crash)
- EndlessRecyclerScrollListener is not reset on new query
2020-07-08 01:40:08 -07:00
topjohnwu
01a43b03bd
De-Rx ModuleViewModel
2020-07-08 01:26:45 -07:00
topjohnwu
86db0cd2cd
Load installed modules with coroutine
2020-07-07 03:37:53 -07:00
topjohnwu
77032eced1
Load repos with coroutine
2020-07-07 01:57:56 -07:00
topjohnwu
23a33b4351
Remove core only mode
...
Replaced by native safe mode
2020-06-21 15:59:06 -07:00
topjohnwu
e02386a6ac
Move install module button to the top
2020-06-21 12:53:31 -07:00
Viktor De Pasquale
ee3028e67d
Updated layout of modules screen
...
The modules will show updates at the top, active modules in the middle and finally remote modules at the bottom. The modules "install" button will be at the top of the "active" list.
This is done over usability concerns, as updates are more important than a list of installed modules.
2020-04-12 05:40:19 -07:00
Viktor De Pasquale
1920a52829
Added progressbar indicating content loading on modules screen
2020-03-29 06:10:19 -07:00
Viktor De Pasquale
6e14a727b1
Fixed modules screen not offering reboot when local modules change
2020-03-29 06:10:19 -07:00
Viktor De Pasquale
88d917b662
Added permission check for installing/downloading modules
2020-03-04 23:50:50 -08:00
topjohnwu
915fd3020b
Small string resource reorganization
...
Close #2454
2020-02-29 14:49:06 -08:00
Viktor De Pasquale
9c4c310f46
Fixed messages on modules screen replicating indefinitely
2020-01-29 01:12:48 +08:00
Viktor De Pasquale
f5d0cc9f32
Updated helper lists so they are lazily populated
2020-01-27 18:22:29 +08:00
Viktor De Pasquale
851ee81486
Updated removing of "empty list" messages
...
Before this commit, the loader removed messages _after_ it updated the
list. Coincidentally the list updating mechanism is asynchronous to
some extent and so slower devices might've had the message removed
after changes have been dispatched which confused the recyclerview and
caused the crash.
Now, the loader is stripped of the responsibility update the list
holding helper messages. The responsibility is for the user itself to
notify listeners and then clear the helper list. This should hopefully
delay the removal to the point where choreographer had enough time to
traverse through the hierarchy.
Stupid recycler view / layout managers. Literally unnecessary crash.
2020-01-25 22:31:19 +08:00
topjohnwu
2291be5d26
Merge string resources
2020-01-23 01:40:36 +08:00
Viktor De Pasquale
c5e5b70e08
Added safe mode notice to modules
2020-01-21 22:01:55 +01:00
topjohnwu
b2ddba4cbf
Proper repo fetching behavior
2020-01-19 03:15:51 +08:00
topjohnwu
707d7b3342
Separate core components
2020-01-13 22:01:46 +08:00
topjohnwu
84f1e78660
Consolidate base viewmodel implementation
2020-01-13 03:56:03 +08:00
topjohnwu
3490ba0a56
Redesign is now the new norm
2020-01-13 00:43:09 +08:00
topjohnwu
9094cf7ce3
Replace old design with redesign (p2)
2020-01-12 16:07:30 +08:00
topjohnwu
6b317f918e
Rename base class names
2019-09-28 03:50:11 -04:00
topjohnwu
08b528dc4f
Reorganize classes
...
- Move base classes to its own package
- Move most logic out of MagiskActivity to MainActivity
2019-09-28 03:37:24 -04:00
topjohnwu
fc886a5a47
Merge Teanity into sources
2019-09-28 01:56:16 -04:00
topjohnwu
c15f80b33f
Improve Rx pipeline
2019-07-28 14:49:06 -07:00
topjohnwu
d1ff7e0ffe
Move extensions to its own package
2019-07-28 02:10:22 -07:00
topjohnwu
42e7db8d13
Modernize Repo class for Magisk modules
...
- Use Kotlin
- Use Room database
- Use retrofit for networking
- Use RxJava pipeline for repo updating
2019-07-28 01:54:34 -07:00
topjohnwu
0c17ea5755
Migrate Magisk Modules to Kotlin
2019-07-27 15:46:44 -07:00
topjohnwu
c0d1ce96d1
Cleanup
2019-05-30 01:05:48 -07:00
topjohnwu
b31d3802eb
Properly force refresh
2019-05-29 23:45:18 -07:00
Viktor De Pasquale
be1228c3b4
Reverted removing UpdateRepos temporarily
2019-05-29 18:40:16 +02:00
Viktor De Pasquale
6a243ec7bc
Fixed inconsistent displaying of repos and improved their sorting
2019-05-25 18:09:45 +02:00
Viktor De Pasquale
6e1aefe6d8
Added feature that prevents repositories from being downloaded every single time that user requests to show Module/Download fragment unless requested by user
2019-05-25 16:42:34 +02:00
Viktor De Pasquale
92789c3113
Added caching repositories to device
2019-05-12 20:21:55 +02:00
Viktor De Pasquale
7c755a3991
Removed events from modules / replaced with retrofit/rx
2019-05-07 15:41:56 +02:00
Viktor De Pasquale
10e903c9fc
Added direct fetch from network and fixed build issues
2019-05-06 20:12:31 +02:00
Viktor De Pasquale
d4058175b4
Fixed list query not being disposed so it could occasionally crash due to several changes rewriting each other
2019-04-22 18:28:40 +02:00
Viktor De Pasquale
2de984ae24
Added division of the modules section to updatable, installed and not installed
2019-04-22 18:20:23 +02:00
Viktor De Pasquale
a181fa0652
Fixed updating lists being to heavy for the UI thread
...
Moved list diff recalculation to the computing thread instead
2019-04-22 09:30:38 +02:00
Viktor De Pasquale
683450f9c6
Added search functionality to repos (downloads)
2019-04-22 08:57:32 +02:00
Viktor De Pasquale
adbd47a36c
Updated modules and repos screen
...
Screens are merged via common viewModel, all data are immediately accessible to both of them
2019-04-20 23:44:08 +02:00