Commit 815485a1 by 霍志良

feat:dynamic组件升级

parent ecc381bd
......@@ -11,7 +11,7 @@ ext {
"m-user" : "0.0.61.42",
"m-home" : "0.0.22.70",
"m-im" : "0.0.19.76",
"m-dynamic" : "0.0.7.28",
"m-dynamic" : "0.0.7.29",
"m-article" : "0.0.0.10",
"m-muse" : "0.0.28.24",
......@@ -94,7 +94,7 @@ ext {
"m-user" : "0.0.61.42",
"m-home" : "0.0.22.70",
"m-im" : "0.0.19.76",
"m-dynamic" : "0.0.7.28",
"m-dynamic" : "0.0.7.29",
"m-article" : "0.0.0.8",
"m-muse" : "0.0.28.24",
......
......@@ -8,6 +8,7 @@ import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Point;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Parcelable;
......@@ -53,6 +54,7 @@ import com.ydl.ydlcommon.view.dialog.CommonDialog;
import com.ydl.ydlcommon.view.dialog.NormalDialog;
import com.yidianling.common.tools.LogUtil;
import com.yidianling.common.tools.RxFileTool;
import com.yidianling.dynamic.BuildConfig;
import com.yidianling.dynamic.bean.DynamicConstants;
import com.yidianling.dynamic.R;
import com.yidianling.dynamic.common.browsePictures.BrowsePicturesActivity;
......@@ -764,9 +766,16 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
if (list.isEmpty()) {
return;
}
for (int i = 0; i < list.size(); i++) {
AddImag(list.get(i).getAndroidQToPath());
if (Build.VERSION.SDK_INT>Build.VERSION_CODES.P){
for (int i = 0; i < list.size(); i++) {
AddImag(list.get(i).getAndroidQToPath());
}
}else{
for (int i = 0; i < list.size(); i++) {
AddImag(list.get(i).getPath());
}
}
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment