#include <chrono>
#include <thread>
#include "traing/include/TraingPresenter.h"
-//#include "TraingView.h"
+// #include "TraingView.h"
namespace OHOS
{
{
NativeAbility::GetInstance().ChangeSlice(VIEW_APPLIST);
}
- if (strcmp(view.GetViewId(), "Remind") == 0)
+ if (strcmp(view.GetViewId(), BUTTONMORE) == 0)
{
- // 模拟心率监测,等待20秒
- //std::this_thread::sleep_for(std::chrono::seconds(20));
- //NativeAbility::GetInstance().ChangeSlice(VIEW_TraingREMIND);
+ NativeAbility::GetInstance().ChangeSlice(VIEW_TRAININGMORE);
}
return true;
}