Created
February 19, 2022 12:12
-
-
Save GiuseppeGiacoppo/d13622d855dd71aa6da5bcab8987a271 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyActivity: | |
AppCompatActivity(), | |
AnalyticsDelegate by AnalyticsDelegateImpl(), | |
LogoutDelegate by LogoutDelegateImpl() | |
{ | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
registerAnalytics(lifecycle) | |
registerLogout(this) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment