我想触发一个函数,每次组件在底部导航 react-native 中变为活动选项卡时。有人可以给我一个解决方案吗?
navigation react-native
navigation ×1
react-native ×1