| 61 | |
| 62 | private: |
| 63 | void show() { |
| 64 | mView = std::make_unique<LottieView>(mApp->evas(), Strategy::renderCAsync); |
| 65 | mView->setFilePath(mResourceList[mCurIndex].c_str()); |
| 66 | mView->setPos(0, 0); |
| 67 | mView->setSize(mApp->width(), mApp->height()); |
| 68 | mView->show(); |
| 69 | mView->play(); |
| 70 | mView->loop(true); |
| 71 | mView->setRepeatMode(mRepeatMode); |
| 72 | } |
| 73 | |
| 74 | public: |
| 75 | EvasApp *mApp; |
nothing calls this directly
no test coverage detected