需求:修改空指针问题
This commit is contained in:
parent
325e57d1d5
commit
51186169ca
@ -505,7 +505,10 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
linkMicPkStartRunnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mLiveRoomViewHolder.setOtherInfo(pkInfo.getString("pkuid"), pkInfo.getString("pkuimg"), pkInfo.getString("pkuname"));
|
||||
if (pkInfo!=null&&pkInfo.containsKey("pkuid")&&pkInfo.containsKey("pkuimg")&&pkInfo.containsKey("pkuname")){
|
||||
mLiveRoomViewHolder.setOtherInfo(pkInfo.getString("pkuid"), pkInfo.getString("pkuimg"), pkInfo.getString("pkuname"));
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
linkMicPkStartHandler.postDelayed(linkMicPkStartRunnable, 4000);
|
||||
|
Loading…
Reference in New Issue
Block a user