Przeglądaj źródła

article tile show logic

billyyoyo 5 lat temu
rodzic
commit
f4dd4ba699

+ 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) {