修复游戏图标角标的复用问题

This commit is contained in:
chenjuntao
2020-08-10 18:09:55 +08:00
parent 4ecc0c073b
commit a181292f80
26 changed files with 43 additions and 64 deletions

View File

@ -318,7 +318,7 @@ public class BindingAdapters {
@BindingAdapter("game")
public static void setGame(View view, GameEntity gameEntity) {
if (gameEntity != null && view instanceof GameIconView) {
((GameIconView) view).setGameEntity(gameEntity);
((GameIconView) view).displayGameIcon(gameEntity);
}
}