📜  react native appearance.addchangelistener android - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:18.664000             🧑  作者: Mango

代码示例1
// add this code to MainActivity.java
import android.content.res.Configuration;
    
@Override
public void onConfigurationChanged(Configuration newConfig) {
  super.onConfigurationChanged(newConfig);
  getReactInstanceManager().onConfigurationChanged(this, newConfig);
}