Commit Graph
26 Commits
Author SHA1 Message Date
tys 93dd6e8d8b cleaning up some explicit signatures and fixing nullability lifecycle peeking 2023-03-27 11:06:30 -07:00
tys 73ae40ab32 Addressing Feedback to clean up allocations 2023-03-24 19:14:53 -07:00
tys 036fa95765 removing junk testing 2023-03-24 17:13:22 -07:00
tys f27391b39d Fix spotless checks 2023-03-24 17:06:13 -07:00
tys 1015f2f460 Moved all behavior relays and publish relays to Flow in non test code. Preserving all public APIs for now 2023-03-24 17:03:28 -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
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
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
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 32b1e225f7 Convert rib-android to Kotlin 2021-04-14 16:50:00 -07:00
James Barr 1921f16b94 Rename rib-android files to .kt in kotlin srcs 2021-04-14 09:22:28 -07:00
James Barr cb51d73da2 Integrate Spotless into build (#415)
* Integrate Spotless in build

* Update CONTRIBUTING.md

* Move improperly placed copyright comments

* Update copyright indent

* Don't format test fixtures

* Run spotlessApply over the whole repo

* Remove checkstyle configs

* Run spotlessCheck on CI
2021-03-24 18:45:35 -07:00
James Barr 95c97a0f1e Add CoreAppCompatActivity with delegate API (#407) 2021-03-04 11:25:55 -08:00
James Barr b86d7ffee3 Align rib-android with internal version (#405)
* Bump buildTools and compileSdk to 30

* Remove component type parameter from ViewRouter

* Xray updates

* Add support for onUserLeaveHint, onTrimMemory, and onPIPModeChanged callbacks

* Update build tools for Travis CI
2021-02-27 10:01:12 -08:00
James Barr 2d58c916f2 Delete rib-android-test (#404)
* Move tests in rib-android-test to test source set of rib-android

* Set test theme in test activity instead of Android manifest

* Delete rib-android-test
2021-02-25 13:45:51 -08:00
James Barr b290824844 Align rib-base with internal version (#402)
* Remove Component type parameter from Router

* Add RibEvents and related classes for tooling

* Minor differences to align with internal version of rib-base

* Extended WorkerBinder functionality to allow for binding a worker to a presenter's lifecycle

* Minor differences & new tests to align with internal version of rib-base
2021-02-23 12:47:26 -08:00
James Barr c6bbec8096 Decouple base RIB classes from Dagger (#399) 2021-02-18 21:56:18 -08:00
James Barr 676f742436 Migrate from uava to guava (#393)
* Delete rib-uava
* Use Guava classes instead of Uava
* Add Guava dependencies and be explicit about Android or JRE
2021-02-12 13:46:29 -08:00
fegol b586fbf024 Migration to AndroidX #324 (#334)
* Migration to AndroidX #324

* Divided versions for androidx libraries and renamed dependencies #324

* Upgrade target sdk version for travis #324

* Migration to androidx part 2 #324

* Fixed spaces #324
2019-06-19 22:48:18 +02:00
Shaishav Gandhi 9ac24da401 Update AutoDispose to 1.3.0 (#333)
* Update AutoDispose

* Enable desugaring in tutorials

* Move to static imports
2019-06-12 13:28:12 -07:00
Brian Attwell 52504f90e1 Split rib-android tests into seperate module
Doing this allows us to run roboeletric tests without having to define a theme attribute (that needs to be overridden by consumers) inside the rib-android module.
2017-11-04 12:34:41 -07:00
Brian Attwell c848849d08 initial code for rib-android. Minus some propriatary metadata.
Plus Clean up android-base for release (squashed toghehter for file header reasons)
* Add initializer support by inlining the initializer annotation into rib-base
* Setup roboelectric tests. Setup roboelectric configuration
2017-10-17 10:53:00 -07:00