本文整理汇总了Java中com.taobao.weex.utils.WXLogUtils.i方法的典型用法代码示例。如果您正苦于以下问题:Java WXLogUtils.i方法的具体用法?Java WXLogUtils.i怎么用?Java WXLogUtils.i使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.taobao.weex.utils.WXLogUtils
的用法示例。
在下文中一共展示了WXLogUtils.i方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onActivityResume
import com.taobao.weex.utils.WXLogUtils; //导入方法依赖的package包/类
@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);
}
示例2: onActivityPause
import com.taobao.weex.utils.WXLogUtils; //导入方法依赖的package包/类
@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;
}
}
示例3: onStatusChanged
import com.taobao.weex.utils.WXLogUtils; //导入方法依赖的package包/类
@Override
public void onStatusChanged(String provider, int status, Bundle extras) {
WXLogUtils.i(TAG, "into--[onStatusChanged] provider:" + provider + " status:" + status);
}
示例4: onProviderEnabled
import com.taobao.weex.utils.WXLogUtils; //导入方法依赖的package包/类
@Override
public void onProviderEnabled(String provider) {
WXLogUtils.i(TAG, "into--[onProviderEnabled] provider:" + provider);
}
示例5: onProviderDisabled
import com.taobao.weex.utils.WXLogUtils; //导入方法依赖的package包/类
@Override
public void onProviderDisabled(String provider) {
WXLogUtils.i(TAG, "into--[onProviderDisabled] provider:" + provider);
}