如何在Android中使用React Native中的react-navigation自动隐藏带有向下滚动动作的标题并显示带有向上滚动动作的标题?
const HomeStack = createStackNavigator({
Home: {
screen: HomeIndexScreen,
},
Details: {
screen: HomeItemScreen,
}
},{
headerLayoutPreset : 'center',
headerMode: 'float'
});