Commit Graph

257 Commits

Author SHA1 Message Date
Oasis
6927694377 UPDATE: Add android-retrostream and android-retrofuture, upgrade version of support libraries to 27.1.1 and lifecycle to 1.1.1. 2018-07-17 23:09:48 +08:00
Oasis
dd025c8b87 REFACTOR: Move minSdkVersion and targetSdkVersion into build.gradle, as required by Android Studio 3.2. 2018-07-03 15:26:39 +08:00
Oasis
41a77544fe UPDATE: Minor tweaks. 2018-06-15 16:42:23 +08:00
Oasis
dacaa69b45 UPDATE: Minor tweaks. 2018-06-12 15:06:44 +08:00
Oasis
81c35fef56 FIX: Add FLAG_ACTIVITY_NEW_TASK to GooglePlayStore.showApp() and Apps.showInMarket() to avoid runtime exception. 2018-06-11 21:23:39 +08:00
Oasis
9e51e035ea ADD: Permissions.request() for convenient runtime permission check and request. 2018-06-11 21:20:08 +08:00
Oasis
43a530cb6d UPDATE: Minor tweaks. 2018-05-24 15:27:35 +08:00
Oasis
4a7a39fd2f ADD: Overload of Apps.showInMarket() with UTM parameters. 2018-05-24 15:27:18 +08:00
Oasis
a15e1c9814 ADD: New attribute "item_touch" for RecyclerView to bind ItemTouchHelper. 2018-05-24 15:27:03 +08:00
Oasis
b2189a2762 ADD: LifecycleActivity & LifecycleFragment to support LifecycleOwner and ViewModelStoreOwner for native Fragment.
And our own version of ViewModelProviders to support LifecycleFragment.

TODO: Retain View-models across configuration changes.
2018-05-24 15:25:37 +08:00
Oasis
2a8cee727e FIX: Lifecycle owner is not set for binding of items in RecyclerView. 2018-05-16 23:02:19 +08:00
Oasis
f38602f599 UPDATE: Raise minSdkVersion to 19. 2018-05-16 17:45:10 +08:00
Oasis
12f4c7d79d ADD: BottomNavigationViewBindingAdapter with 2-way binding. 2018-05-16 17:44:34 +08:00
Oasis
35e7d0082b ADD: NonNullMutableLiveData for Live Data of Android Jet Pack. 2018-05-16 16:44:25 +08:00
Oasis
4412ce8c7c ADD: SettingProxyProvider as proxy for system SettingsProvider. 2018-03-01 17:10:34 +08:00
Oasis
8c82489d73 UPDATE: Minor tweaks to Hack. 2018-03-01 15:37:52 +08:00
Oasis
65231a8760 UPDATE: Replace Miui.startAppPermissionSettings() with buildAppPermissionSettingsIntent() to allow caller to resolve the activity. 2018-01-30 16:51:08 +08:00
Oasis
83f6e4691e ADD: LauncherAppsCompat with getApplicationInfo(). 2018-01-24 18:12:54 +08:00
Oasis
23f7fe7238 UPDATE: Add IntentFilters.withDataType(). 2018-01-14 15:40:51 +08:00
Oasis
43c40b2603 UPDATE: Add Suppliers.memoizeWithExpiration(). 2018-01-05 22:08:11 +08:00
Oasis
afe70c27a6 REMOVE: GlobalContextProvider due to failure in its purpose.
GlobalContextProvider does not support multi-process as expected actually.
2018-01-04 21:20:30 +08:00
Oasis
2c6eefef1e UPDATE: Method and field hacks are now lazy-resolved in production build.
Invokable.getReturnType() is removed due to not being used.
2017-12-29 18:28:44 +08:00
Oasis
38511f65a4 UPDATE: Loosen the parameter of Dialogs.buildAlert() from FragmentActivity to Activity. 2017-11-30 22:16:02 +08:00
Oasis
d9823569c3 UPDATE: Refine the DebuggerWaiter. (renamed from DebuggerWaiterProvider) 2017-11-26 21:03:43 +08:00
Oasis
be51bbefbc UPDATE: Minor API change to interface SupportMenuBindingAdapter.MenuAware. 2017-10-29 10:24:11 +08:00
Oasis
6118ee3ee9 UPDATE: Add Apps.showInMarket() and Apps.launch(). 2017-10-29 10:22:58 +08:00
Oasis
e7fe3885fa ADD: Helper class Emulator for emulator-related stuffs. 2017-10-27 14:59:26 +08:00
Oasis
3b57e5d0e7 UPDATE: Add "onDismiss" callback attribute to SwipeDismissBehaviorBindingAdapter. 2017-10-17 16:23:37 +08:00
Oasis
94d44dacf0 UPDATE: Minor tweaks. 2017-09-27 01:01:45 +08:00
Oasis
b566fc3071 UPDATE: Add an overload of SafeAsyncTask.execute() with finish procedure back on UI thread. 2017-09-13 21:20:43 +08:00
Oasis
88fc21ffee ADD: Loopers, a utility class for Looper. 2017-09-13 21:11:07 +08:00
Oasis
7f619ce983 ADD: SwipeDismissBehaviorBindingAdapter for attaching SwipeDismissBehavior with data-binding. 2017-09-10 17:58:27 +08:00
Oasis
8a20ede7b5 UPDATE: DebuggerWaitingProvider skips waiting for debugger if USB is not connected.
ADB over TCP is not supported at present.
2017-08-31 11:06:55 +08:00
Oasis
73b2efcc18 UPDATE: Enforce @CheckResult for Scope.mark() to remind the coder for potential use of markOnly(). 2017-08-25 16:59:20 +08:00
Oasis
72809f94de ADD: Scopes.boot() for scope throughout device boot-up. (reset upon reboot)
Edge case: this scope will also be reset upon app force-stop.
2017-08-25 16:55:41 +08:00
Oasis
f78e4ab6e5 UPDATE: Add API Scope.markOnly(). 2017-08-25 16:53:29 +08:00
Oasis
3e9a8e7be7 REFACTOR: Minor renaming for internal classes in Scopes. 2017-08-25 16:17:12 +08:00
Oasis
79f9ab13d0 UPDATE: Minor tweaks. 2017-08-11 12:13:51 +08:00
Oasis
2872e2df07 FIX: Crash caused by incorrect usage of View.setTag() in SupportMenuBindingAdapter. 2017-08-10 23:03:42 +08:00
Oasis
5ed876862b FIX: The binding for MenuAware is not updated when value is changed. 2017-08-01 12:15:15 +08:00
Oasis
e4b15ca68a UPDATE: Add new MenuAware interface to SupportMenuBindingAdapter. 2017-07-31 22:44:11 +08:00
Oasis
c780a08226 UPDATE: Minor adjust to levels of some logging. 2017-07-20 18:45:43 +08:00
Oasis
c7abd0f9ad ADD: Introduce PseudoContentProvider as the base class of LocalContentProvider, solely for global uniqueness purpose without any concrete functionality of ContentProvider. 2017-07-16 17:35:34 +08:00
Oasis
b4e01411d3 UPDATE: Add new constructor with custom icon size for IconResizer. 2017-07-15 16:55:23 +08:00
Oasis
e25d20786f UPDATE: Add HackedMethod.throwing() for whatever exception (or none) expected. 2017-07-10 15:14:02 +08:00
Oasis
d59ced8b93 UPDATE: Add more builder methods to IntentFilters.FluentIntentFilter. 2017-07-10 15:12:42 +08:00
Oasis
9339d40f8f UPDATE: Introduce static singleton to optimize the performance of LocalContentProvider.getInstance(). 2017-07-01 00:02:04 +08:00
Oasis
fa1508cdf6 UPDATE: Throwing IllegalStateException instead of returning null in LocalContentProvider.getInstance(). 2017-05-30 16:19:22 +08:00
Oasis
29c17bfa8b UPDATE: Minor tweaks. 2017-04-01 00:53:24 +08:00
oasisfeng
1e1357cd90 Create LICENSE.txt 2017-03-30 20:52:03 +08:00