class: ARTSurfaceViewShadowNode
method: setThemedContext
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N) {
themedContext.addLifecycleEventListener(this);
}
why need this check?
if my android build code is Build.VERSION_CODES.N, will not callback method: onHostResume
public void onHostResume() {
drawOutput(false);
}
Android : Build.VERSION_CODES.N RN: 0.60.4
class: ARTSurfaceViewShadowNode method: setThemedContext if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N) { themedContext.addLifecycleEventListener(this); } why need this check? if my android build code is Build.VERSION_CODES.N, will not callback method: onHostResume public void onHostResume() { drawOutput(false); }