Last active
May 1, 2023 17:44
-
-
Save aqua30/0e42db4cedc296700fe821ca0ac836f9 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
HorizontalPager( | |
pageCount = 3, | |
beyondBoundsPageCount = 3, | |
state = viewPagerState, | |
modifier = Modifier | |
.background(MaterialTheme.colors.background) | |
.fillMaxSize(), | |
) { page -> | |
when (page) { | |
0 -> ChatListScreen() | |
1 -> StatusListScreen() | |
2 -> CallsListScreen() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment