解决recommendGameList为null奔溃bug
This commit is contained in:
@ -128,7 +128,7 @@ public class ConcernRecommendAdapter extends RecyclerView.Adapter<ConcernViewHol
|
||||
}
|
||||
}
|
||||
}
|
||||
if (recommendGameList.size() != 0) {
|
||||
if (recommendGameList != null && recommendGameList.size() != 0) {
|
||||
listener.loadDone();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user