1、发布动态上次图片问题调式 1
This commit is contained in:
parent
6de4523d27
commit
9a72e54ca3
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="17dp"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="#ff000000"
|
android:textColor="#ff000000"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
|
@ -366,21 +366,22 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
MobclickAgent.onEvent(mContext, "community", "社区");
|
MobclickAgent.onEvent(mContext, "community", "社区");
|
||||||
/* if (mMainHomeCommunityViewHolder != null) {
|
if (mMainHomeCommunityViewHolder != null) {
|
||||||
mMainHomeCommunityViewHolder.onResumePlay();
|
mMainHomeCommunityViewHolder.onPauseVideo();
|
||||||
}*/
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
MobclickAgent.onEvent(mContext, "information", "消息");
|
MobclickAgent.onEvent(mContext, "information", "消息");
|
||||||
/* if (mMainHomeCommunityViewHolder != null) {
|
|
||||||
mMainHomeCommunityViewHolder.onPauseVideo();
|
if (mMainHomeCommunityViewHolder != null) {
|
||||||
}*/
|
mMainHomeCommunityViewHolder.onResumePlay();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
MobclickAgent.onEvent(mContext, "my", "我的");
|
MobclickAgent.onEvent(mContext, "my", "我的");
|
||||||
/* if (mMainHomeCommunityViewHolder != null) {
|
if (mMainHomeCommunityViewHolder != null) {
|
||||||
mMainHomeCommunityViewHolder.onPauseVideo();
|
mMainHomeCommunityViewHolder.onPauseVideo();
|
||||||
}*/
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
OpenAdManager.getInstance().show(OpenAdManager.TYPE_HOME, false);
|
OpenAdManager.getInstance().show(OpenAdManager.TYPE_HOME, false);
|
||||||
|
@ -3,6 +3,7 @@ package com.yunbao.main.views;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.webkit.ValueCallback;
|
import android.webkit.ValueCallback;
|
||||||
@ -231,8 +232,10 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
((MainHomeCommunityFragment) fragment).mValueCallback2.onReceiveValue(results);
|
((MainHomeCommunityFragment) fragment).mValueCallback2.onReceiveValue(results);
|
||||||
|
if (results.length > 0){
|
||||||
|
Log.i("MainHomeCommunityViewHolder", "setValueCallback2: " + results[0]);
|
||||||
|
}
|
||||||
((MainHomeCommunityFragment) fragment).mValueCallback2 = null;
|
((MainHomeCommunityFragment) fragment).mValueCallback2 = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user