EricKuck
f69fab6062
Merge LifecycleOwner into Controller, add back handling demo
2023-03-24 11:50:37 -04:00
Eric Kuck
590debf975
Conductor 4.0-preview-1 ( #686 )
2023-03-22 11:26:52 -05:00
py - Pierre Yves Ricau
ba98e3b165
Add leak detection for destroyed controller views ( #676 )
2022-06-23 12:00:39 -05:00
Eric Kuck
966bc1645d
Convert dependencies to version catalogs ( #675 )
...
Also bumps gradle, agp, and kotlin versions
2022-06-16 16:40:05 -05:00
Eric Kuck
3b275d31c2
Add PopRootControllerMode to address Android 12 back button behavior ( #663 )
2022-01-27 16:41:20 -06:00
Paul Woitaschek
94c817bbd9
Remove support for rxLifecycle2.
2021-07-03 21:40:43 +02:00
Paul Woitaschek
0ef52211a2
Update LeakCanary to 2.7. ( #650 )
...
Also simplify the usage by extracting the leak watching logic into a lifecycle listener.
2021-07-03 14:31:04 +02:00
Paul Woitaschek
03701d05a9
Add basic support for compose ( #644 )
...
Includes required lifecycle and saved state owners
2021-07-02 10:23:00 -05:00
Eric Kuck
6820aa7d6a
Convert demo app to Kotlin w/ ViewBinding ( #635 )
2020-12-22 13:09:57 -06:00
EricKuck
e78347709b
Revert to Java 7 - we'll be kotlinizing soon anyway
2020-11-05 14:12:34 -06:00
Eric Kuck
6fdb1d6ed3
Adds ViewPager2 Adapter ( #594 )
2020-11-03 16:17:30 -06:00
Islom Matnazarov
4c89124683
Update CircularRevealChangeHandler to not ignore removesFromViewOnPush ( #600 )
2020-05-11 11:17:09 -05:00
Eric Kuck
e0bbd48935
Remove platform transition module
2020-05-04 20:14:33 -05:00
Eric Kuck
623ed03df8
Revert transition module package name change
2020-05-04 17:56:53 -05:00
Chris Horner
bbb4e8c066
Add platform transition module ( #591 )
2020-04-04 21:40:02 -05:00
Paul Woitaschek
8eee79dcea
Updated lint. ( #587 )
2020-03-30 11:37:34 -05:00
Eric Kuck
5ebd8c9a5d
Minor lambda cleanup
2020-03-30 11:22:38 -05:00
Eric Kuck
4c9f2e9f30
RestoreViewOnCreateController functionality merged into Controller
2020-03-30 11:19:04 -05:00
Eric Kuck
b0340d4c67
Removes platform TransitionChangeHandler
2020-03-30 11:12:07 -05:00
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
Eric Kuck
41f14f6ae5
support package renamed to viewpager
2020-03-28 14:44:15 -05:00
Eric Kuck
5205033cc6
Renamed support->viewpager, removed old deprecated code
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
f72b5bed65
Fixes #524 - onContextAvailable not being called on all child controllers
2019-03-26 18:24:30 -05: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
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
inorichi
3d64903e54
Fix demo not compiling after dependency updates ( #437 )
...
LGTM 👍
2018-06-12 10:08:56 +02:00
Paul Woitaschek
5ce857bb24
Dependency update & Migrate Lint to UAST ( #433 )
...
* Use Android Sdk 27
* Updated the unmock plugin and use the default configuration.
* Removed the explicit buildTools and use the one bundled with the plugin.
* Updated the support library, butterknife, leakCanary, rxjava 1 & 2,
rxlifecycle 1 & 2, junit and robolectric.
* Migrated the lint checks to UAST.
* Rename the UClass "declaration" to "field" to be consistent to the
other check and the default name.
* Moved the evaluator of the ControllerIssueDetector to the handler too.
2018-05-29 11:31:32 -05:00
Eric Kuck
52f095d945
Codestyle updates
2018-05-25 14:45:58 -05:00
Stephan Schuster
91da937d4f
Improved lifecycle integration of Conductor and Architecture Components ( #383 )
...
Previous mapping was:
- () -> ON_CREATE -> CREATED
- preCreateView -> ON_START -> STARTED
- preAttach -> ON_RESUME -> RESUMED
- preDetach -> ON_PAUSE -> STARTED
- preDestroyView -> ON_STOP -> CREATED
- preDestroy -> ON_DESTROY -> DESTROYED
New mapping is:
- () -> INITIALIZED
- postContextAvailable -> ON_CREATE -> CREATED
- postCreateView -> ON_START -> STARTED
- postAttach -> ON_RESUME -> RESUMED
- preDetach -> ON_PAUSE -> STARTED
- preDestroyView -> ON_STOP -> CREATED
- preContextUnavailable -> // do nothing
- preDestroy -> ON_DESTROY -> DESTROYED
Change-Id: I9f65480018dc1204dc89a8065fa7c7f554ad7dd2
2018-05-25 14:41:06 -05:00
Eric Kuck
9e3095957c
Autodispose dependency update, fixed build
2018-05-25 14:38:23 -05:00
Eric Kuck
fac44b74e9
build.gradle updates
2018-05-25 13:26:48 -05:00
Eric Kuck
bae8a16d8c
Added SharedElementTransitionChangeHandler, which handles transitions much more robustly
2017-07-10 16:02:51 -05:00
Eric Kuck
044363517c
Added modules for Autodispose and architecture components's Lifecycle
...
Cleaned up the demo and directory structure a bit now that there are so many external modules
2017-06-02 15:47:56 -05:00
Frieder Bluemle
2357297531
Project updates ( #264 )
...
* Update Gradle wrapper to 3.5
* Fix whitespace errors
* Remove executable bit from regular files
* Fix DrawableRes annotation
* Update Android Gradle plugin to 2.3.2
* Update build tools to 25.0.3
* Do not ignore Lint errors
* Replace android-apt with annotationProcessor
* Update unmock to 0.6.0
* Update support libs to 25.3.1
2017-05-18 10:35:30 -05:00
Eric Kuck
d260dfcf12
Change handlers that occur after a deferred change handler are now deferred until the preceding handler completes to ensure correct ordering. Handlers will only be deferred when the containing view isn’t yet fully attached and they could cause a NPE in ViewGroup.java.
2017-05-18 07:36:02 -05:00
Eric Kuck
81a499d121
Now handles sequences of immediate pushing and popping of controllers much better. Also guards against NPEs due to popping a controller during onAttach. Fixes #274
2017-05-03 14:42:17 -05:00
Eric Kuck
effa410eae
Fixes #269 in the demo app
2017-04-24 07:43:35 -05:00
Eric Kuck
75ad389424
Fixed a few warnings
2017-03-01 16:51:45 -06:00
Eric Kuck
b7611e1a1b
Added a RecyclerView -> RecyclerView shared element transition demo
2017-02-20 16:57:56 -06:00
Eric Kuck
d13af316d3
Dialog background no longer fades out over the top of the outgoing dialog
2017-02-17 12:52:51 -06:00
Eric Kuck
7d5cc26ea4
Replaced png icon with vector drawable
2017-02-17 10:47:58 -06:00
Eric Kuck
c4d881ac47
Added some better shared element demos
2017-02-17 10:40:38 -06:00
Eduardo Alejandro Pool Aké
0a53b9f07a
Dependency updates
2017-02-16 11:20:25 -06:00
Eric Kuck
c2ad655af2
Added fade to dialog’s immersive background
...
Moved FabToDialogTransitionChangeHandler over to the library’s TransitionChangeHandler
2017-02-16 11:13:04 -06:00
Simon Vergauwen
a888073e1b
DialogToFabTransition ( #229 )
2017-02-16 10:24:49 -06:00
Paul Woitaschek
f4ef47c2d2
Added missing nullity annotations for the pager adapters ( #219 )
2017-02-02 08:21:38 -06:00
Eric Kuck
a9bdf0dd06
Revamped how child backtacks are handled to be more reliable with unforseen uses of state restoration. Fixes #194 and #217
2017-02-01 18:44:33 -06:00
Eric Kuck
44bcd0f977
Fixes #205
2017-01-20 17:35:15 -06:00