Skip to content

Instantly share code, notes, and snippets.

@sieleemmanuel
Created May 13, 2023 07:08
Show Gist options
  • Save sieleemmanuel/8498a61c04e0281f57a68e643c7fd944 to your computer and use it in GitHub Desktop.
Save sieleemmanuel/8498a61c04e0281f57a68e643c7fd944 to your computer and use it in GitHub Desktop.
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
TogisoftTheme {
Surface(
modifier = Modifier.fillMaxSize()
)
{
val phoneNumber = rememberSaveable { mutableStateOf("") }
val phoneCode = rememberSaveable { mutableStateOf("+254") } // default country code of your choice
val fullPhoneNumber = rememberSaveable { mutableStateOf("") }
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment