-
Notifications
You must be signed in to change notification settings - Fork 50
Add dialog support (WIP) #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...-example/src/androidTest/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleTest.kt
Show resolved
Hide resolved
android/app-example/src/main/java/com/badoo/ribs/example/rib/blocker/Blocker.kt
Outdated
Show resolved
Hide resolved
...id/app-example/src/androidTest/java/com/badoo/ribs/example/rib/lorem_ipsum/LoremIpsumTest.kt
Show resolved
Hide resolved
...xample/src/androidTest/java/com/badoo/ribs/example/rib/hello_world/HelloWorldTestDeferred.kt
Show resolved
Hide resolved
android/app-example/src/main/java/com/badoo/ribs/example/rib/blocker/builder/BlockerModule.kt
Show resolved
Hide resolved
| loremIpsumBuilder: LoremIpsumBuilder | ||
| ) : Dialog<Dialog.Event>({ | ||
| title = "A title if you wish" | ||
| ribFactory { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Factory is not serializable, is it fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is in reference to passing the dialog around in a Configuration data class. I guess if it's a RIB inside, it already has its whole infrastructure for dynamic updates (input deps or internal feature impl).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it handle this dialog correctly after restore though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not this one, but that's the point - Dialogs that host RIBs do not even need to be serialised and passed inside the Configuration.
...d/app-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/dialog/SimpleDialog.kt
Show resolved
Hide resolved
...oid/app-example/src/main/java/com/badoo/ribs/example/rib/hello_world/HelloWorldInteractor.kt
Outdated
Show resolved
Hide resolved
...p-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleInteractor.kt
Outdated
Show resolved
Hide resolved
...p-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleInteractor.kt
Show resolved
Hide resolved
...p-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleInteractor.kt
Show resolved
Hide resolved
...d/app-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleRouter.kt
Outdated
Show resolved
Hide resolved
...d/app-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleRouter.kt
Outdated
Show resolved
Hide resolved
...d/libraries/rib-base/src/main/java/com/badoo/ribs/core/routing/action/DialogRoutingAction.kt
Outdated
Show resolved
Hide resolved
android/libraries/rib-base/src/main/java/com/badoo/ribs/core/routing/action/RoutingAction.kt
Outdated
Show resolved
Hide resolved
...d/libraries/rib-base/src/main/java/com/badoo/ribs/core/routing/backstack/BackStackManager.kt
Outdated
Show resolved
Hide resolved
...p-example/src/main/java/com/badoo/ribs/example/rib/dialog_example/DialogExampleInteractor.kt
Show resolved
Hide resolved
android/app-example/src/main/java/com/badoo/ribs/example/rib/lorem_ipsum/LoremIpsum.kt
Show resolved
Hide resolved
...xample/src/main/java/com/badoo/ribs/example/rib/dialog_example/builder/DialogExampleScope.kt
Show resolved
Hide resolved
…ing previous step
No description provided.