Created
May 13, 2023 07:08
-
-
Save sieleemmanuel/8498a61c04e0281f57a68e643c7fd944 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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