提交 fce50ebe 编写于 作者: O openharmony_ci 提交者: Gitee

!459 回退UIList重复设置adapter限制

Merge pull request !459 from guyuanzhang/align2
......@@ -493,12 +493,8 @@ bool UIList::MoveChildStep(int16_t distance)
void UIList::SetAdapter(AbstractAdapter* adapter)
{
if (recycle_.adapter_ == nullptr) {
recycle_.SetAdapter(adapter);
recycle_.InitRecycle();
} else {
GRAPHIC_LOGE("UIList::SetAdapter adapter can only set once");
}
recycle_.SetAdapter(adapter);
recycle_.InitRecycle();
}
UIView* UIList::GetSelectView()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册