安卓集成时Userutils空指针求助
02-28 05:25:19.965: E/com.tooopen.weplay.GlobalApplication(26916): at com.tooopen.weplay.chat.UserUtils.getUserInfo(UserUtils.java:18)
02-28 05:25:19.965: E/com.tooopen.weplay.GlobalApplication(26916): at com.tooopen.weplay.chat.UserUtils.setUserAvatar(UserUtils.java:37)
02-28 05:25:19.965: E/com.tooopen.weplay.GlobalApplication(26916): at com.tooopen.weplay.adapter.ChatAllHistoryAdapter.getView(ChatAllHistoryAdapter.java:110)
02-28 05:25:19.965: E/com.tooopen.weplay.GlobalApplication(26916): at com.tooopen.weplay.chat.UserUtils.setUserAvatar(UserUtils.java:37)
02-28 05:25:19.965: E/com.tooopen.weplay.GlobalApplication(26916): at com.tooopen.weplay.adapter.ChatAllHistoryAdapter.getView(ChatAllHistoryAdapter.java:110)
没有找到相关结果
已邀请:
2 个回复
[已注销]
看看代码中设置的地方有没有。
[已注销]
((DemoHXSDKHelper)HXSDKHelper.getInstance()).setContactList(userlist);
搜一下上面这个代码了