Created
February 1, 2022 20:01
-
-
Save plnice/66dde738abd76c1e00e083568f5b15c7 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
@AndroidEntryPoint | |
class MainActivity { | |
@Inject | |
lateinit var customTabs: CustomTabs | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContent { | |
CompositionLocalProvider(LocalCustomTabs provides customTabs) { | |
... | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment