mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
example: refactor lottieview to test both c and cpp api
This commit is contained in:
committed by
Subhransu
parent
e0d60eb058
commit
6efe7e23f5
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
private:
|
||||
void show() {
|
||||
mView = std::make_unique<LottieView>(mApp->evas(), mRenderMode);
|
||||
mView = std::make_unique<LottieView>(mApp->evas(), Strategy::renderCAsync);
|
||||
mView->setFilePath(mResourceList[mCurIndex].c_str());
|
||||
mView->setPos(0, 0);
|
||||
mView->setSize(mApp->width(), mApp->height());
|
||||
|
||||
Reference in New Issue
Block a user