fix:调整房间公告icon
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -14,6 +14,7 @@ import androidx.annotation.Keep;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.chwl.core.msg.sys.bean.ErbanSysMsgComponent;
|
||||
import com.chwl.core.msg.sys.bean.ErbanSysMsgInfo;
|
||||
import com.chwl.library.utils.json.JsonUtils;
|
||||
import com.netease.nim.uikit.business.session.viewholder.MsgViewHolderBase;
|
||||
import com.netease.nim.uikit.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter;
|
||||
import com.chwl.app.R;
|
||||
@@ -62,7 +63,8 @@ public class DynamicSysHolder extends MsgViewHolderBase {
|
||||
String layout = erbanSysMsgInfo.getLayout();
|
||||
ErbanSysMsgLayout erbanSysMsgLayout;
|
||||
try {
|
||||
erbanSysMsgLayout = JSON.parseObject(layout, ErbanSysMsgLayout.class);
|
||||
// erbanSysMsgLayout = JSON.parseObject(layout, ErbanSysMsgLayout.class);
|
||||
erbanSysMsgLayout = JsonUtils.fromJson(layout, ErbanSysMsgLayout.class);
|
||||
|
||||
} catch (Exception ex) { // json解析出错
|
||||
ex.printStackTrace();
|
||||
|
Reference in New Issue
Block a user