Skip to content

Instantly share code, notes, and snippets.

@waseefakhtar
Last active August 21, 2021 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waseefakhtar/d0799dd177ee6cd0b3368b67f28100fe to your computer and use it in GitHub Desktop.
Save waseefakhtar/d0799dd177ee6cd0b3368b67f28100fe to your computer and use it in GitHub Desktop.
@Composable
fun ProfileScreen(puppy: Puppy) {
val scrollState = rememberScrollState()
Column(modifier = Modifier.fillMaxSize()) {
BoxWithConstraints {
Surface {
Column(
modifier = Modifier
.fillMaxSize()
.verticalScroll(scrollState),
) {
// TODO:
// ProfileHeader
// ProfileContent
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment