소스 검색

article tile show logic

billyyoyo 6 년 전
부모
커밋
f4dd4ba699
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/src/main/java/com/sheep/gamegroup/view/fragment/FgtFindChild.java

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/fragment/FgtFindChild.java

@@ -368,7 +368,7 @@ public class FgtFindChild extends BaseListFragment5<Article> {
 
         @Override
         public int getViewIdByType(int type) {//type来源于 getItemViewType 返回的值
-            if (FgtFindChild.this.type == -1) {
+            if (FgtFindChild.this.type < 0) {
                 return R.layout.find_item_game_news;
             } else {
                 if (type == -1 || type == -2) {