Commit Graph
126 Commits
Author SHA1 Message Date
tys 4c895ddb7c Fix spotless 2022-10-28 14:55:24 -07:00
tys 8e878c6e6e Removing previous change to the presenter field in favor of making it a closed JvmField to maintain compatibility 2022-10-26 17:10:21 -07:00
tys 92c4db2f81 Prepare for release 0.13.1 2022-10-20 15:11:57 -07:00
tys 6d51b99077 SPotless fixes 2022-10-19 16:14:55 -07:00
tys 1a05c562a9 Cleanup APIs to remove TestCoroutineDispatcher which was deprecated 2022-10-19 14:56:40 -07:00
tys a4269f75cf Merge branch 'main' of ssh://github.com/uber/RIBs into ty/kotlin-1.7-upgrade 2022-10-04 16:08:22 -07:00
Kiran Kumar b926b0ba9e Spotless check fix 2022-09-26 17:15:32 +05:30
Kiran Kumar e59184cad9 - Adding support for relaying window focus events from RibActivity (test included) 2022-09-26 16:50:43 +05:30
tys 6d3de3cfca Fixed all deps and package changes for compilation 2022-08-26 15:35:56 -07:00
SergeySmykovskyi 1023a96b84 Migrate com.nhaarman.mockitokotlin2 to org.mockito.kotlin (#520)
* Migrate com.nhaarman.mockitokotlin2 to org.mockito.kotlin
2022-08-08 18:21:41 -07:00
Mathieu Brousse 7be85d071f Add "open" modifier to allow override in implementation 2022-07-19 14:45:17 +02:00
Ty Smith ea969125fb Merge pull request #503 from uber/gradle-upgrade
Gradle 7.2 upgrade
2022-04-24 21:37:30 -07:00
tys 4220cbf013 Prepare for release 0.13.0 2022-04-24 15:19:38 -07:00
tys 5a8d44afe0 Gradle 7.2 upgrade 2022-04-24 13:20:50 -07:00
tys 7a7a668a28 Resetting versions to test release script with fixes 2022-04-24 12:16:58 -07:00
tys db2f5c64af Adding fix application level coroutine scope 2022-04-23 16:19:25 -07:00
tys e67967c06d Adjusting some deps to API to account for expected consumer usage 2022-04-22 22:31:15 -07:00
tys 3acb03d75a Adding more safety to SCope testing api and doing a bit of doc cleanup from feedback 2022-04-22 18:03:05 -07:00
tys 20fcb4e8be Fix spotless 2022-04-22 15:10:09 -07:00
tys e85bbcbaac Version bump and docs 2022-04-22 15:10:07 -07:00
tys 88396b3664 Fix warnings and javadocs 2022-04-22 15:08:40 -07:00
tys e3a6426f7f Fix spotless 2022-04-22 15:07:37 -07:00
tys 0356f4090b Reworked APIs into one scope, added testing code and utils 2022-04-22 15:07:37 -07:00
tys 4647a10ee9 Adding symlink to Test rule 2022-04-22 15:07:37 -07:00
tys 5c8fc2dfae Fix test rule and add exception handler test 2022-04-22 15:07:37 -07:00
tys 6dc4a205c4 Adding CoroutineName to scopes 2022-04-22 15:07:37 -07:00
tys 05ceab0e88 Add CoroutineName to scopes 2022-04-22 15:07:37 -07:00
tys d99260223d Removing redundant test dispatcher provider class 2022-04-22 15:07:37 -07:00
tys 6216ca9abe Adding Coroutine Test artifact 2022-04-22 15:07:37 -07:00
tys f6305689c6 Add testing code and dispatcher fixes to coroutines 2022-04-22 15:07:37 -07:00
tys 8a263672c9 Fixed delegate API for dispatchers 2022-04-22 15:07:37 -07:00
tys 22d7868a71 Adding WeakHashMap to hold scopes for ScopeProviders 2022-04-22 15:07:37 -07:00
tys 4dc37ef84d Removed coroutines interactor base class 2022-04-22 15:07:37 -07:00
tys 0ca5c931ed Adding functional version of coroutines. App compiles/runs but freezes, so likely has blocking coroutine to be fixed. Diff is WIP to resolve API 2022-04-22 15:07:37 -07:00
tys 18aae38f4c Fixing after merge with master 2022-04-22 15:07:37 -07:00
tys 2093e8ebcd Adding coroutines diff and sample project 2022-04-22 15:07:37 -07:00
arteghem 4bc63ded6b Don't use default interface method bytecode optimization for target 1.8 (#495)
* Don't use default interface method bytecode optimization for target 1.8

* Update fix to rely on jvm-default=enable/@JvmDefault in order to preserve java compatibility:
2022-03-29 19:19:35 -07:00
Eric Liu b641ba318f let child rib populate its own view
do not pass views to children

delegate view attachment detachment to children

works

final
2021-11-04 17:17:29 -07:00
James Barr 340b18c20f Added RIB subclasses to support Compose (#479) 2021-09-17 16:21:49 -07:00
James Barr 49fe466028 Use minSdk 21, AGP 7, & Gradle 7 (#478) 2021-09-17 11:55:35 -07:00
James Barr beb5ccd149 Migrate gradle-maven-push to gradle-maven-publish-plugin (#477) 2021-09-17 11:06:06 -07:00
Johnathan Hansler 43ba71d600 Add NEW_TASK_REPLACE RouterNavigator flag (#475)
* Add NEW_TASK_REPLACE RouterNavigator flag

This flag is similar to the NEW_TASK flag, but it always detaches all
existing routers and attaches the new one.

Currently, the DEFAULT flag is the only available flag that detaches the
top router if `newStateIsTop` is true. `NEW_TASK_REPLACE` combines this
property of `DEFAULT` with the behavior of `NEW_TASK`.

* Fix spotlessKotlin check.
2021-09-07 14:07:19 -07:00
James Barr ad33698755 Use implementation instead of compile (#471) 2021-07-09 19:17:31 -07:00
James Barr 89c658ea9e Bump Kotlin to 1.5.20 (#470) 2021-07-09 19:08:23 -07:00
James Barr 153335ba3c Warn when detaching a RIB that was never attached (#454) 2021-06-07 18:36:10 -07:00
James Barr 865adaf6f3 More followup fixes for Kotlin RIBs (#450) 2021-05-17 11:30:33 -07:00
James Barr bd8f05fc0f Followup fixes for Kotlin RIBs (#448) 2021-05-11 22:30:26 -07:00
James Barr 3f6b1309ea Minor fixups for rib-base Kotlin conversion 2021-04-16 16:27:19 -07:00
James Barr 026eae1e12 Convert rib-base to Kotlin 2021-04-16 12:39:06 -07:00
James Barr 6aaaed5c8f Rename rib-base files to .kt in kotlin srcs 2021-04-16 07:57:47 -07:00