@Test public void testTransition() throws Exception { module.transition("","",""); module.transition("test","test",""); }
@JSMethod public void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack) { if (!TextUtils.isEmpty(ref) && !TextUtils.isEmpty(animation) && mWXSDKInstance != null) { GraphicActionAnimation action = new GraphicActionAnimation(mWXSDKInstance.getInstanceId(), ref, animation, callBack); WXSDKManager.getInstance().getWXRenderManager().postGraphicAction(action.getPageId(), action); } }
WXAnimationModule extends WXModule { @JSMethod public void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack) { if (!TextUtils.isEmpty(ref) && !TextUtils.isEmpty(animation) && mWXSDKInstance != null) { GraphicActionAnimation action = new GraphicActionAnimation(mWXSDKInstance.getInstanceId(), ref, animation, callBack); WXSDKManager.getInstance().getWXRenderManager().postGraphicAction(action.getPageId(), action); } } }
WXAnimationModule extends WXModule { @JSMethod public void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack) { if (!TextUtils.isEmpty(ref) && !TextUtils.isEmpty(animation) && mWXSDKInstance != null) { GraphicActionAnimation action = new GraphicActionAnimation(mWXSDKInstance.getInstanceId(), ref, animation, callBack); WXSDKManager.getInstance().getWXRenderManager().postGraphicAction(action.getPageId(), action); } }  }
WXAnimationModule extends WXModule { @JSMethod public void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack) { if (!TextUtils.isEmpty(ref) && !TextUtils.isEmpty(animation) && mWXSDKInstance != null) { GraphicActionAnimation action = new GraphicActionAnimation(mWXSDKInstance.getInstanceId(), ref, animation, callBack); WXSDKManager.getInstance().getWXRenderManager().postGraphicAction(action.getPageId(), action); } }  @JSMethod void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack); }
WXAnimationModule extends WXModule { @JSMethod public void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack) { if (!TextUtils.isEmpty(ref) && !TextUtils.isEmpty(animation) && mWXSDKInstance != null) { GraphicActionAnimation action = new GraphicActionAnimation(mWXSDKInstance.getInstanceId(), ref, animation, callBack); WXSDKManager.getInstance().getWXRenderManager().postGraphicAction(action.getPageId(), action); } }  @JSMethod void transition(@Nullable String ref, @Nullable String animation, @Nullable String callBack);  }