Java Code Examples for com.taobao.weex.utils.WXLogUtils#i()
The following examples show how to use
com.taobao.weex.utils.WXLogUtils#i() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WXSDKInstance.java From ucar-weex-core with Apache License 2.0 | 6 votes |
@Override public void onActivityResume() { // notify onActivityResume callback to module WXModuleManager.onActivityResume(getInstanceId()); if(mRootComp != null) { mRootComp.onActivityResume(); }else{ WXLogUtils.w("Warning :Component tree has not build completely, onActivityResume can not be call!"); } if (mCurrentGround) { WXLogUtils.i("Application to be in the foreground"); Intent intent = new Intent(WXGlobalEventReceiver.EVENT_ACTION); intent.putExtra(WXGlobalEventReceiver.EVENT_NAME, Constants.Event.RESUME_EVENT); intent.putExtra(WXGlobalEventReceiver.EVENT_WX_INSTANCEID, getInstanceId()); mContext.sendBroadcast(intent); mCurrentGround = false; } onViewAppear(); setViewPortWidth(mInstanceViewPortWidth); }
Example 2
Source File: WXSDKInstance.java From ucar-weex-core with Apache License 2.0 | 5 votes |
@Override public void onActivityPause() { onViewDisappear(); if(!isCommit){ Set<String> componentTypes= WXComponentFactory.getComponentTypesByInstanceId(getInstanceId()); if(componentTypes!=null && componentTypes.contains(WXBasicComponentType.SCROLLER)){ mWXPerformance.useScroller=1; } mWXPerformance.maxDeepViewLayer=getMaxDeepLayer(); if (mUserTrackAdapter != null) { mUserTrackAdapter.commit(mContext, null, IWXUserTrackAdapter.LOAD, mWXPerformance, getUserTrackParams()); } isCommit=true; } // module listen Activity onActivityPause WXModuleManager.onActivityPause(getInstanceId()); if(mRootComp != null) { mRootComp.onActivityPause(); }else{ WXLogUtils.w("Warning :Component tree has not build completely,onActivityPause can not be call!"); } WXLogUtils.i("Application onActivityPause()"); if (!mCurrentGround) { WXLogUtils.i("Application to be in the backround"); Intent intent = new Intent(WXGlobalEventReceiver.EVENT_ACTION); intent.putExtra(WXGlobalEventReceiver.EVENT_NAME, Constants.Event.PAUSE_EVENT); intent.putExtra(WXGlobalEventReceiver.EVENT_WX_INSTANCEID, getInstanceId()); mContext.sendBroadcast(intent); this.mCurrentGround = true; } }
Example 3
Source File: DefaultLocation.java From incubator-weex-playground with Apache License 2.0 | 4 votes |
@Override public void onStatusChanged(String provider, int status, Bundle extras) { WXLogUtils.i(TAG, "into--[onStatusChanged] provider:" + provider + " status:" + status); }
Example 4
Source File: DefaultLocation.java From incubator-weex-playground with Apache License 2.0 | 4 votes |
@Override public void onProviderEnabled(String provider) { WXLogUtils.i(TAG, "into--[onProviderEnabled] provider:" + provider); }
Example 5
Source File: DefaultLocation.java From incubator-weex-playground with Apache License 2.0 | 4 votes |
@Override public void onProviderDisabled(String provider) { WXLogUtils.i(TAG, "into--[onProviderDisabled] provider:" + provider); }
Example 6
Source File: DefaultLocation.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 4 votes |
@Override public void onStatusChanged(String provider, int status, Bundle extras) { WXLogUtils.i(TAG, "into--[onStatusChanged] provider:" + provider + " status:" + status); }
Example 7
Source File: DefaultLocation.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 4 votes |
@Override public void onProviderEnabled(String provider) { WXLogUtils.i(TAG, "into--[onProviderEnabled] provider:" + provider); }
Example 8
Source File: DefaultLocation.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 4 votes |
@Override public void onProviderDisabled(String provider) { WXLogUtils.i(TAG, "into--[onProviderDisabled] provider:" + provider); }