修复firebase反馈的空指针问题
This commit is contained in:
parent
4be0148324
commit
07ae094bed
@ -1009,7 +1009,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
|
||||
@Override
|
||||
public void onHourRank(LiveChatBean bean, JSONObject ranks) {
|
||||
if (mLiveRoomViewHolder != null && !TextUtils.isEmpty(liveID)) {
|
||||
if (mLiveRoomViewHolder != null && !TextUtils.isEmpty(liveID) && ranks != null) {
|
||||
mLiveRoomViewHolder.setHourRankData(ranks.getInteger(liveID));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user