From: Caisking <3449750381@qq.com> Date: Sat, 28 Sep 2024 12:32:48 +0000 (+0800) Subject: 修改卡片list为不循环 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=92d9d39fad66304d1cf417c5e618b16896b7187b;p=mirrors%2FFD230.git 修改卡片list为不循环 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp b/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp index 5c7bb939d..6dfd26b45 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp @@ -110,7 +110,7 @@ namespace OHOS contentList_.SetScrollStateListener(presenter_); contentList_.SetOnDragListener(presenter_); contentList_.SetMaxScrollDistance(1000); - contentList_.SetLoopState(true); + contentList_.SetLoopState(false);//设置不循环 contentList_.SetAdapter(addCardAdapter_); contentList_.SetVisible(true);