-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
有这么一个场景,我的列表数据是动态的,我想处理好数据之后然后传入数据源,我想默认选中某一个,那这个默认选中的项,弹出列表时同样有选中标识。动态数据,好像没办法传入字典isselected,而且我这边尝试手写数据
[[WMZMenuTitleKey.normal: "全部", "isselected": true], "更多"]
也没生效...
func titleArr(in menu: WMZDropDownMenu) -> [Any] {
func menu(_ menu: WMZDropDownMenu, dataForRowAt dropIndexPath: WMZDropIndexPath) -> [Any] {
2个方法都不生效
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels