calorienowdataLabel->SetText(GoalModel::GetInstance().getcaloriespnew());
caloriegoaldataLabel->SetText(GoalModel::GetInstance().getcaloriesGoal());
+ Invalidate();
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "GoalViewrefresh Invalidat ");
+ RootView::GetInstance()->Invalidate();
+
}
#include <cywee_hal.h>
#include "goalview.h"
+#include "goalother.h"
+
#include "heart_blood/health_service/health_service.h"
//#include "Systemupgrade.h"
namespace OHOS {
{
OHOS::GoalView::GetInstance()->GoalViewrefresh();
}
+ if(OHOS::GoalotherView::GetInstance())
+ {
+ OHOS::GoalotherView::GetInstance()->GoalViewrefresh();
+ }
#endif
// The alarm notification is not displayed if the incoming call notification is already being processed
// cywee_save_data();