krzysztof
11/08/2021, 9:19 PMkrzysztof
11/08/2021, 9:19 PMkrzysztof
11/08/2021, 9:20 PMkrzysztof
11/08/2021, 9:21 PMshouldShowBottomBar which has custom getter, which is marked as composable. Why is that?krzysztof
11/08/2021, 9:21 PMZach Klippenstein (he/him) [MOD]
11/08/2021, 9:26 PMAdam Powell
11/08/2021, 9:26 PM@Composable unless the get() function is reading a CompositionLocal or something to make its decisionAdam Powell
11/08/2021, 9:30 PMkrzysztof
11/08/2021, 9:37 PMkrzysztof
11/08/2021, 9:37 PMkrzysztof
11/08/2021, 9:39 PMAdam Powell
11/08/2021, 9:41 PMkrzysztof
11/08/2021, 9:41 PMAdam Powell
11/08/2021, 9:41 PMAdam Powell
11/08/2021, 9:42 PMArpit Shukla
11/09/2021, 4:49 AMNavController.currentBackStackEntryAsState() (which is a composable function) to determine shouldShowBottomBar . That’s why the @Composable annotation was required there. Link to code.