Skip to content

Instantly share code, notes, and snippets.

@oussama-dz
Created May 31, 2023 08:09
Show Gist options
  • Save oussama-dz/ce2802be263045f73f585b860ee3c4a2 to your computer and use it in GitHub Desktop.
Save oussama-dz/ce2802be263045f73f585b860ee3c4a2 to your computer and use it in GitHub Desktop.
Calling the get current location composable in the main activity.
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
GetCurrentLocationUI()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment