阅读背景:

触发器类功能从选项卡导航器选项卡调用按 - 反应原生/导航

来源:互联网 

I have a TabNavigator component and I want the individual Tab Screen state to get reset on a tab press. How do I call a class (component) method on a tab press? I've looked at tabBarOnPress, but this takes a function from the parent level (TabNavigator). I want the class method to be triggered and I don't want to export that method.I have a TabNavigator component and I want the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: