react native appearance addchangelistener android

Solutions on MaxInterview for react native appearance addchangelistener android by the best coders in the world

showing results for - "react native appearance addchangelistener android"
Lara
26 Feb 2017
1// add this code to MainActivity.java
2import android.content.res.Configuration;
3    
4@Override
5public void onConfigurationChanged(Configuration newConfig) {
6  super.onConfigurationChanged(newConfig);
7  getReactInstanceManager().onConfigurationChanged(this, newConfig);
8}