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

PWN-8614 - Add new amplitude events, and modify current #1850

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

Davran331122
Copy link
Contributor

@@ -424,6 +432,20 @@ class HomePresenter(
}
}

override fun onSellClicked() {
sellAnalytics.logSellSubmitClicked()
Copy link
Contributor

Choose a reason for hiding this comment

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

you can inject analytics inside Fragment to remove jumping from presenter to view just for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's more clear, yeah for now it's dump, but maybe we will need to add some logic in future xD
it can not be avoided ))

}

override fun onOpenTwitterClicked() {
analytics.logSettingItemClicked(SETTING_ITEM_TWITTER)
Copy link
Contributor

Choose a reason for hiding this comment

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

same
inject analytics inside fragment
makes Contract cleaner

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here too

@Davran331122 Davran331122 merged commit 5e3a8df into develop Jun 20, 2023
2 of 3 checks passed
@Davran331122 Davran331122 deleted the feature/PWN-8614-fix-amplitude-events branch June 20, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants