I have a screen that it's title should set from AsyncStorage
and many screens are navigating to this screen (so I don't want pass the title everywhere I'm navigating).
As navigationOptions
is static
I'm not able to use this.state
and also can't set it's title by reading from AsyncStorage
(because AsyncStorage
is Async :)
How can I change the title inside the screen itself in such a situation?