Learn how to save and restore the state of composable while navigating between two composable by bottom tabs.
In this video, we used saveState & restoreState to handle the state.
.
With the help of saveStateย flag we can save the state of our composable and by using restoreState we can restore the state when we swap between bottom navigation items.
Top comments (0)