设置卡片列表为循环显示
authorCaisking <3449750381@qq.com>
Mon, 15 Jul 2024 03:02:00 +0000 (11:02 +0800)
committerCaisking <3449750381@qq.com>
Mon, 15 Jul 2024 03:02:00 +0000 (11:02 +0800)
code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp

index b062fa2..3584599 100644 (file)
@@ -107,6 +107,7 @@ namespace OHOS
         contentList_.SetScrollStateListener(presenter_);
         contentList_.SetOnDragListener(presenter_);
         contentList_.SetMaxScrollDistance(1000);
+        contentList_.SetLoopState(true);
         contentList_.SetAdapter(addCardAdapter_);
         contentList_.SetVisible(true);
         container_->Add(&contentList_);