残页
2106751ea4
Fix SnackBar shows behind window insets
2022-06-03 03:21:56 -07:00
RikkaW
6a2ae89846
Fix card view background color on API 21 & 22
2022-06-01 09:04:35 -07:00
topjohnwu
c0981174a8
Use LiveData instead of Observable
2022-05-29 03:57:42 -07:00
canyie
0cc29350a0
Navigate only if user has not left the fragment
2022-05-28 22:40:09 -07:00
topjohnwu
683cfee88b
Cleanup and move things around
2022-05-26 22:05:28 -07:00
topjohnwu
3bcaf0ed5b
Move more files into core
2022-05-25 05:48:02 -07:00
topjohnwu
4eb9240806
Handle Activty recreation on content result
...
Credits to @canyie for the initial PR and finding the bug
Close #5791 , fix #5789
2022-05-08 14:29:59 -07:00
topjohnwu
cc79a96fa3
Update libsu
2022-05-03 01:25:26 -07:00
topjohnwu
f2c15c7701
Ensure RootService is launched
2022-03-23 18:44:05 -07:00
topjohnwu
71e37345b4
Update libsu
2022-02-28 20:14:58 -08:00
topjohnwu
5d400fbe90
Check REQUEST_INSTALL_PACKAGES before actions
2022-02-14 02:15:50 -08:00
LoveSy
1893359142
Fix crash when fragment is detached from activity
2022-01-27 01:54:24 -08:00
topjohnwu
ab2cc72814
Remove unnecessary root service connection wait
2022-01-25 01:21:21 -08:00
vvb2060
3d06ba1878
Use WindowCompat
2022-01-23 02:44:59 -08:00
topjohnwu
8eac6c0b48
Cleanup arch classes
2022-01-22 14:44:46 -08:00
topjohnwu
47545b45b8
Clean up MagiskDialog
2022-01-21 00:50:02 -08:00
canyie and LoveSy
b0fba6ce5b
Optimize navigation back stack
...
Fix topjohnwu#4333
Co-authored-by: LoveSy <shana@zju.edu.cn >
2022-01-20 03:38:00 -08:00
vvb2060
2997258fd0
Cleanup code
2022-01-18 02:02:41 -08:00
vvb2060
11600fc116
Use libs instead of copy code
2022-01-18 02:02:41 -08:00
topjohnwu
d7b51d2807
Update dependencies
2022-01-14 00:07:19 -08:00
RikkaW
1df2a04713
Find suitable anchor view for SnackBar
...
This will fix the SnackBar position if BottomNav or FAB is visible.
Fix #5163
Fix #5135
2022-01-10 23:10:42 -08:00
topjohnwu
edcf9f1b0c
Introduce RootServices to the app
2021-12-13 04:05:42 -08:00
topjohnwu
2115bcd8b0
Relaunch and recreate is slightly different
2021-11-05 16:05:12 -07:00
topjohnwu
1bdd6e1a9d
Migrate to Activity Result APIs
2021-11-05 15:53:34 -07:00
topjohnwu
98deec232b
Minor adjustments
2021-11-05 13:55:18 -07:00
topjohnwu
022c217cfe
Migrate to SplashScreen API
2021-11-05 04:16:58 -07:00
vvb2060
e49d29a914
Fix fragments lifecycleOwner
2021-11-02 03:10:29 -07:00
topjohnwu
abfec57972
Move files around
2021-09-13 01:47:36 -07:00
topjohnwu
743c7c9326
App code reorganization
2021-09-01 01:17:27 -07:00
topjohnwu
067248da75
Cleanup RvItems
2021-09-01 01:17:27 -07:00
topjohnwu
5c333dec33
Minor changes
2021-05-09 20:45:53 -07:00
vvb2060
fb93af665d
Remove obsolete SDK_INT check
2021-04-23 16:56:23 -07:00
topjohnwu
038f73a5f7
Remove Koin
...
Non static DI is bad
2021-04-18 04:46:11 -07:00
vvb2060
69b00d3782
Update dependencies
...
Jcenter will sunset
2021-04-17 23:44:19 -07:00
topjohnwu
706d53065b
Rename TransitiveText
2021-04-09 01:32:37 -07:00
topjohnwu
bd935b0553
Cleanup fragment navigations
2021-03-16 04:58:02 -07:00
Rikka
95a5b57265
Remove "Flashing" overlay
...
Fix #3579 , fix #3250
2021-01-15 21:28:59 -08:00
RikkaW
0df891b336
Handle window insets with a new way
...
For example, switching pages in home should only have scale and alpha animations, but a "translate y" animation shows. This is because Data Binding is triggered later (like "in the next frame"), causing the animation runs before view attribute changes.
This commit introduces WindowInsetsHelper class and use it to handle all window insets. With the help of LayoutInflaterFactory from the previous commit, we can control insets behavior by adding our attributes to the XML and anything is done by WindowInsetsHelper class.
As changes are highly coupling, this commit also contains new ItemDecoration for lists, replacing the random combination of padding and empty drawable. And "fixEdgeEffect" extension for RecyclerView, making edge effects respect padding.
2020-11-19 23:24:39 -08:00
RikkaW
385853a290
Introduce LayoutInflaterFactory
...
This add the ability touch layout XML instantiates process. And most importantly, we can access AttributeSet, making custom view attribute possible.
Some other changes requires this.
2020-11-19 23:24:39 -08:00
RikkaW
c93ada03c7
Implement Edge-to-edge with newer APIs
...
The implementation adds a "Base" family styles, making creating themes across multiple API versions more clearer and easier.
2020-11-19 23:21:36 -08:00
vvb2060
533cb8eb58
Tapjacking protection
2020-10-22 02:40:47 -07:00
vvb2060
5833aadef5
Silence kotlin warnings
2020-10-17 05:57:35 -07:00
topjohnwu
fc19b50290
Cleanup ActivityResult callbacks
2020-10-06 02:04:19 -07:00
topjohnwu
d7f7508fa2
Move setContentView out of onCreate
2020-09-11 02:31:41 -07:00
topjohnwu
fb04e32480
Bypass external rw check in the proper location
2020-08-22 05:27:30 -07:00
vvb2060
9e81db8692
Support scoped storage
2020-08-22 04:38:51 -07:00
topjohnwu
5ed4071f74
Change ActivityExecutor signature
2020-08-19 05:19:24 -07:00
topjohnwu
551a478fdc
Fix occasional broken animation
2020-08-19 05:19:24 -07:00
topjohnwu
7c319f5fc3
Moar refactoring
2020-08-19 05:19:24 -07:00
topjohnwu
1fcf35ebeb
Do not hardcode appcompat widget classes
...
They should be handled by the theme
2020-08-19 05:19:24 -07:00