Motivation
- Enable users to configure locale from React-Native side
- Give parity with IOS which is currently supported
Current Limitations
We've to workaround the current way to configure locale for the PX Android library. In the examples they recommend modifying the context from the Application class by initializing an instance of the PXBehaviourConfigurer class.
The problem with that, is that our library is called as a function which receives parameters and starts an Activity. I'll have to review if constantly modifying the context from a runtime function call instead of modifying at startup would imply a perf issue.
Motivation
Current Limitations
We've to workaround the current way to configure locale for the PX Android library. In the examples they recommend modifying the context from the
Applicationclass by initializing an instance of thePXBehaviourConfigurerclass.The problem with that, is that our library is called as a function which receives parameters and starts an Activity. I'll have to review if constantly modifying the context from a runtime function call instead of modifying at startup would imply a perf issue.