使用Android Studio Lint审查代码二
This commit is contained in:
@ -45,10 +45,8 @@ public class GameViewUtils {
|
||||
// 添加tag标签
|
||||
if (tag != null && !tag.isEmpty()) {
|
||||
String[] tags = tag.split(",");
|
||||
if (tags != null && tags.length > 0) {
|
||||
for (int i = 0; i < tags.length; i++) {
|
||||
labelLayout.addView(getGameTagView(context, tags[i]));
|
||||
}
|
||||
for (int i = 0; i < tags.length; i++) {
|
||||
labelLayout.addView(getGameTagView(context, tags[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user