我的光环页面改版&优化已完成

This commit is contained in:
张玉久
2019-12-16 17:25:55 +08:00
parent 624d9c1e2d
commit ac1d078681
57 changed files with 828 additions and 356 deletions

View File

@ -298,7 +298,7 @@ public class ShareUtils {
int dimension = Math.min(bitmap.getWidth(), bitmap.getHeight());
bitmap = ThumbnailUtils.extractThumbnail(bitmap, dimension, dimension);
}
Bitmap compressBp = compressBitmap(bitmap);
if (mShareType == ShareType.askNormal || mShareType == ShareType.askInvite) {
msg.thumbData = ImageUtils.bmpToByteArray(compressBp, true);
@ -531,6 +531,9 @@ public class ShareUtils {
holder.shareLogo.setImageResource(arrLogo[position]);
holder.shareLabel.setText(arrLabel[position]);
holder.itemView.setOnClickListener(v -> {
if (mShareType == ShareUtils.ShareType.shareGh) {
MtaHelper.onEvent("我的光环_新", "分享光环", arrLabel[position]);
}
switch (holder.getPosition()) {
case 0:
wechatShare();