1、发布动态上次图片问题调式 1

This commit is contained in:
老皮 2024-09-13 15:48:52 +08:00
parent 6de4523d27
commit 9a72e54ca3
3 changed files with 14 additions and 10 deletions

View File

@ -57,7 +57,7 @@
<TextView
android:layout_width="0dp"
android:layout_height="17dp"
android:layout_height="wrap_content"
android:textColor="#ff000000"
android:textSize="15sp"
android:layout_marginEnd="6dp"

View File

@ -366,21 +366,22 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
break;
case 1:
MobclickAgent.onEvent(mContext, "community", "社区");
/* if (mMainHomeCommunityViewHolder != null) {
mMainHomeCommunityViewHolder.onResumePlay();
}*/
if (mMainHomeCommunityViewHolder != null) {
mMainHomeCommunityViewHolder.onPauseVideo();
}
break;
case 2:
MobclickAgent.onEvent(mContext, "information", "消息");
/* if (mMainHomeCommunityViewHolder != null) {
mMainHomeCommunityViewHolder.onPauseVideo();
}*/
if (mMainHomeCommunityViewHolder != null) {
mMainHomeCommunityViewHolder.onResumePlay();
}
break;
case 3:
MobclickAgent.onEvent(mContext, "my", "我的");
/* if (mMainHomeCommunityViewHolder != null) {
if (mMainHomeCommunityViewHolder != null) {
mMainHomeCommunityViewHolder.onPauseVideo();
}*/
}
break;
}
OpenAdManager.getInstance().show(OpenAdManager.TYPE_HOME, false);

View File

@ -3,6 +3,7 @@ package com.yunbao.main.views;
import android.content.Context;
import android.graphics.Color;
import android.net.Uri;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.ValueCallback;
@ -231,8 +232,10 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl
return;
}
((MainHomeCommunityFragment) fragment).mValueCallback2.onReceiveValue(results);
if (results.length > 0){
Log.i("MainHomeCommunityViewHolder", "setValueCallback2: " + results[0]);
}
((MainHomeCommunityFragment) fragment).mValueCallback2 = null;
}
}
}