react-native-art / art

React Native module that allows you to draw vector graphics.
https://github.com/react-native-community/art
MIT License
287 stars 78 forks source link

use in module ART not callback onHostResume #53

Open danxiang opened 4 years ago

danxiang commented 4 years ago

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); }