Bladeren bron

Merge branch 'develop' of https://github.com/swict/LifeplusAndroid into develop

hyodong.min 6 jaren geleden
bovenliggende
commit
9323463289
1 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. 6 2
      app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/notification/NotiView.java

+ 6 - 2
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/notification/NotiView.java

@@ -99,11 +99,15 @@ public class NotiView {
     if (this.index == position) {
       if (NoticeBean.CATEGORY_NOTICE.equals(NoticeBean.getCategoryName(this.index))) {
         // 공지 탭 보여질 때 첫 번째 아이템 확장
-        notiListAdapter.expand(0, true);
+        if(notiListAdapter != null) {
+          notiListAdapter.expand(0, true);
+        }
       }
       else if (NoticeBean.CATEGORY_ALL.equals(NoticeBean.getCategoryName(this.index))) {
         // 전체 탭 모든 아이탬 축소
-        notiListAdapter.collapseDataAll();
+        if(notiListAdapter != null) {
+          notiListAdapter.collapseDataAll();
+        }
       }
     }
     else {