Eric Kuck
f6b396f679
Removes RxLifecycle for RxJava 1
2020-03-30 11:10:54 -05:00
Paul Woitaschek
589cb91fff
Introduce Kotlin (and Java 8) ( #585 )
...
* Introduce kotlin and converted the ControllerChangeType to kotlin.
* Migrated the ThreadUtils to kotlin.
* Migrated the TransactionIndexer to kotlin.
* Migrated the ChangeHandlerFrameLayout to kotlin.
* Migrated Conductor to kotlin.
* Added RestrictTo annotations.
* Migrated the RouterRequiringFunc to kotlin.
* Migrated the RouterTransaction to kotlin
* Make use of diamonds.
* Make use of lambdas and method references.
* Use an interface with default implementations for the LifecycleListener.
* Simplify the attachRouter function.
* Updated the code style and checkin the idea folder.
* Use a Controller extension function for the router transaction.
* Use let's instead of forced !! casts.
* Added default implementations of ControllerChangeListener
* Migrated the NoOpControllerChangeHandler to kotlin.
* Use a top level extension function for the asTransaction function.
* Add JvmField annotations to the ControllerChangeType fields.
* Use the local variables instead of calling the controller again.
2020-03-30 16:37:13 +02:00
Paul Woitaschek
a51f4192cb
Updated AGP to 3.6.1
2020-03-28 21:29:19 +01:00
Paul Woitaschek
266d6a0fd6
Updated the androidx annotations.
2020-03-28 21:24:34 +01:00
Paul Woitaschek
7410f7d123
Disabled the jetifier as it's no longer needed.
2020-03-28 21:24:13 +01:00
Paul Woitaschek
56b5ce3b33
Updated gradle to 6.3
2020-03-28 21:23:21 +01:00
Paul Woitaschek
a20ee6477a
Replaced unmock with robolectric.
2020-03-28 21:22:55 +01:00
Eric Kuck
41f14f6ae5
support package renamed to viewpager
2020-03-28 14:44:15 -05:00
Alexey Glushkov
a170942ae1
fix of removing/adding child view controller views when the retain mode of a parent controller is RETAIN_DETACH ( #571 )
2020-03-28 14:36:11 -05:00
Alexey Glushkov
6df6ce8de7
Fix Conductor pending changes lock, related to #287 discussion ( #570 )
2020-03-28 14:33:44 -05:00
Chris Horner
7ddc115918
Fix memory leak in SharedElementTransitionChangeHandler. ( #528 )
2020-03-28 14:26:41 -05:00
Alexey Glushkov
5f8f3ad98e
Fix #563 bug: Controller in the middle of a backstack isn't destroyed after calling popController ( #569 )
2020-03-28 14:19:42 -05:00
Eric Kuck
5205033cc6
Renamed support->viewpager, removed old deprecated code
3.0.0-rc3
2020-03-28 14:07:19 -05:00
Steven Schoen
bbd26995c5
Add androidx-transition module, update demos ( #584 )
2020-03-26 21:54:25 -05:00
Eric Kuck
94e4112ece
Travis updates
2020-03-24 11:32:37 -05:00
Eric Kuck
45db55c678
Fixes RouterPagerAdapter state restoration when removing pages.
...
Fixes #582
2020-03-24 11:17:06 -05:00
dtrabo
7a00a6777e
Fixed outdated docs ( #576 )
2019-12-06 16:04:40 -06:00
Eric Kuck
7a50f12740
Build tools updates
2019-08-11 11:14:36 -05:00
Steven Schoen
530bd551e2
Fix TransitionChangeHandlers getting stuck when two are run simultaneously ( #547 )
...
* Fix TransitionChangeHandlers getting stuck when two are run simultaneously
* Don't unnecessarily re-execute changes
2019-08-11 11:09:58 -05:00
Steven Schoen
e40cdf2fb0
Keep ControllerChangeHandler default constructor in Proguard rules ( #550 )
2019-08-11 10:46:56 -05:00
Eric Kuck
94c9121bb1
Fixed logic error that could result in undestroyed controllers
2019-04-06 14:58:54 -04:00
Eric Kuck
f72b5bed65
Fixes #524 - onContextAvailable not being called on all child controllers
2019-03-26 18:24:30 -05:00
Eric Kuck
7cb681f6f1
Fixed an edge case that could result in View being null in change handlers when setting backstack before view has been fully restored
2019-03-01 16:48:36 +02:00
Isuru Kusumal Rajapakse
f80d78858d
Fix MainActivity from leaking by releasing the listeners kept by handlers ( #502 )
2019-02-27 15:29:09 +02:00
Eric Kuck
6f856453c1
Version bump
3.0.0-rc1
2018-12-18 14:41:18 -06:00
Eric Kuck
a6c50fccca
Fix for onAttach potentially being called after destroy
2018-12-18 14:21:48 -06:00
Shaishav Gandhi
9ad140d00f
Upgrade AutoDispose to 1.0.0 ( #497 )
...
* Upgrade AutoDispose to 1.0.0
2018-11-04 07:36:53 +01:00
Paul Woitaschek
bb173b7cdc
Migrate to AndroidX. Fixes #490 ( #492 )
...
* Gradle 4.10.2
* Android Build tools 3.2.1
* compileSdk 27, targetSdk 27, support libraries 28.0.0
* Migrated to androidX
2018-10-22 20:10:50 +02:00
Andy Byrnes
5f68328131
Fix README typos ( #479 )
2018-09-18 15:49:47 -05:00
Eric Kuck
61826fb42b
Added a list of 3rd party modules to the readme
2018-09-04 11:35:09 -07:00
Shaishav Gandhi
6b5495a13b
Update AutoDispose to 1.0.0-RC2 ( #469 )
...
* Upgrade AutoDispose to 1.0.0-RC2
Signed-off-by: shaishavgandhi05 <shaishgandhi@gmail.com >
* Remove fully qualified reference
Signed-off-by: shaishavgandhi05 <shaishgandhi@gmail.com >
2018-08-22 09:26:50 -05:00
Eric Kuck
7a24f77b59
No longer re-attaches controllers that shouldn't be attached when popController(controller) is called. Fixes #463 .
2018-08-09 14:40:15 -05:00
Paul Woitaschek
562ed171c3
Specify the current api for the IssueRegistry. ( #460 )
2018-08-02 09:18:56 +02:00
Eric Kuck
241f052a7b
Version bump
2.1.5
2018-08-01 16:19:16 -05:00
Eric Kuck
f239376b03
Added a more helpful exception when TransactionIndexer object can't be found.
2018-08-01 12:32:00 -05:00
Eric Kuck
9dc5e5def6
setBackstack with an empty list will now remove all visible views when it's supposed to
2018-07-31 15:43:19 -05:00
Eric Kuck
23d2bab764
Fixes potential out-of-order attach calls for children if the framework itself calls them out of order. ( Fixes #416 )
2018-07-29 22:42:42 -05:00
Eric Kuck
814121d686
Ensures getTransactionIndexer() will never throw a StackOverflowException
2018-07-29 21:37:05 -05:00
Eric Kuck
4a5442e821
Adds more Autodispose options ( fixes #452 )
2018-07-29 21:33:15 -05:00
Eric Kuck
3b67822b25
Fixed another lifecycle call order issue with Android P
2018-07-19 14:01:31 -05:00
Eric Kuck
24754364c8
Fix rotation issue for SDK 28 ( fixes #457 )
2018-07-18 13:32:24 -05:00
Eric Kuck
131589670f
Now removes savedPageHistory for pages that are reinstated (and therefore no longer saved)
2018-06-20 15:36:34 -05:00
Dhi Aurrahman
efca85829b
Fix unresolved dep, failed to resolve: common ( #443 )
...
Thanks :)
2018-06-12 13:11:26 +02:00
inorichi
3d64903e54
Fix demo not compiling after dependency updates ( #437 )
...
LGTM 👍
2018-06-12 10:08:56 +02:00
Eric Kuck
ad3b4911be
Fixes #367
2018-06-06 14:58:58 -05:00
Eric Kuck
a0d92a631f
Fixes #432
2018-05-30 13:53:07 -05:00
Eric Kuck
f1b38219b4
Fixes #425
2018-05-30 10:58:18 -05:00
Eric Kuck
d59e9ccabf
Fixes #429
2018-05-30 10:46:54 -05:00
Eric Kuck
4c81db3a09
Fixes #394
2018-05-29 16:01:12 -05:00
Eric Kuck
a8cfd4be9f
Added a first draft of contribution guidelines
2018-05-29 15:39:08 -05:00