Skip to content
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

RIB fragment #237

Merged
merged 20 commits into from
Feb 1, 2021
Merged

RIB fragment #237

merged 20 commits into from
Feb 1, 2021

Conversation

CherryPerry
Copy link
Collaborator

After some additional investigations, I discovered, that using isFinishing flag combinations for fragment still has issues.
ViewModel is only option for fragments. I decided to use ViewModel in activities too to have consistent behaviour.

Depends on #235

@CherryPerry CherryPerry requested a review from zsoltk December 30, 2020 15:16
@CherryPerry
Copy link
Collaborator Author

Some tests?

@CherryPerry
Copy link
Collaborator Author

#246

@CherryPerry
Copy link
Collaborator Author

@zsoltk ready to review and merge.


class ActivityIntegrationPoint(
open class ActivityIntegrationPoint(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my point of view create own class of ActivityIntegreationPoint only for overriding DialogLauncher sounds strange, can we add DialogLauncher as constructor field?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no meaning in exposing only DialogLauncher via contractor parameter. But at same time we can't expose ActivityStarter and PermissionRequester as default parameters because they depends on internal RequestCodeRegistry.

Please extend ActivityIntegrationPoint and override the field, use createIntegrationPoint to replace default one in activity or fragment.

@CherryPerry CherryPerry requested a review from zsoltk January 28, 2021 11:58
@zsoltk zsoltk merged commit b25b611 into badoo:master Feb 1, 2021
@CherryPerry CherryPerry deleted the rib-fragment branch February 1, 2021 17:14
@zsoltk zsoltk added the enhancement New feature or request label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants