修改卡片list为不循环
authorCaisking <3449750381@qq.com>
Sat, 28 Sep 2024 12:32:48 +0000 (20:32 +0800)
committerCaisking <3449750381@qq.com>
Sat, 28 Sep 2024 12:32:48 +0000 (20:32 +0800)
code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp

index 5c7bb93..6dfd26b 100644 (file)
@@ -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);