注册

安卓集成时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)
已邀请:
((DemoHXSDKHelper)HXSDKHelper.getInstance()).getContactList().get(username);
看看代码中设置的地方有没有。
loginactivity和mainactivity中
((DemoHXSDKHelper)HXSDKHelper.getInstance()).setContactList(userlist);
搜一下上面这个代码了

要回复问题请先登录注册