|
|
@@ -20,6 +20,7 @@ import kr.co.hanwha.hifive.base.BaseFragment;
|
|
|
import kr.co.hanwha.hifive.data.model.DabProjectData;
|
|
|
import kr.co.hanwha.hifive.screen.main.dashboard.contract.MainDashboardContract;
|
|
|
import kr.co.hanwha.hifive.util.HFActivityUtil;
|
|
|
+import kr.co.hanwha.hifive.util.HFInfoUtil;
|
|
|
import kr.co.hanwha.hifive.view.HFDashboardTabView;
|
|
|
|
|
|
import static android.content.Context.LAYOUT_INFLATER_SERVICE;
|
|
|
@@ -116,6 +117,15 @@ public class MainDashboardFragment extends BaseFragment implements MainDashboard
|
|
|
return parent;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void onResume() {
|
|
|
+ super.onResume();
|
|
|
+
|
|
|
+ if (HFInfoUtil.getNeedRefreshMainDashboardList(getActivity())) {
|
|
|
+ mPresenter.initData(true);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void setRefreshing(boolean refreshing) {
|
|
|
mRefreshLayoutGreen.setRefreshing(refreshing);
|