wwmz / WMZDropDownMenu

🌹一个能几乎实现所有App各种类型筛选菜单的控件,可悬浮,目前已实现闲鱼/美团/Boss直聘/京东/饿了么/淘宝/拼多多/赶集网/美图外卖等等的筛选菜单,可以自由调用代理实现自己想组装的筛选功能和UI,且控件的生命周期自动管理,悬浮自动管理🌹(A control that can implement almost all types of filtering menus of all apps)
MIT License
723 stars 98 forks source link

如何清除数据,从新获取一下数据。 #26

Closed dslcoding closed 3 years ago

dslcoding commented 4 years ago

如何清除数据源,重新获取一下数据。

wwmz commented 4 years ago

如何清除数据源,重新获取一下数据。

/ 更新数据 下一列的数据 */

(BOOL)updateData:(NSArray)arr ForRowAtDropIndexPath:(WMZDropIndexPath)dropIndexPath; / 更新所有位置的数据 section表示所在行 row表示所在列 */

(BOOL)updateData:(NSArray)arr AtDropIndexPathSection:(NSInteger)section AtDropIndexPathRow:(NSInteger)row; / 更新全局位置某个数据源的数据 可更换选中状态 显示文字等。。。 根据WMZDropTree 对应属性改变 /

(BOOL)updateDataConfig:(NSDictionary)changeData AtDropIndexPathSection:(NSInteger)section AtDropIndexPathRow:(NSInteger)row AtIndexPathRow:(NSInteger)indexPathRow; / 更新所有UI和数据 /

(void)updateUI; 这里的更新方法都可以用呢