Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#bug。切换省份后立即滑动城市,城市显示还是上一个省份的城市。如图。 #148

Open
Junesui opened this issue Aug 3, 2022 · 8 comments

Comments

@Junesui
Copy link

Junesui commented Aug 3, 2022

70dfd9b42c9f1bcfc8276c28b19f055

此时会卡死,要重启app

@hanxu317317
Copy link
Owner

1.1.3 没有解决这个问题么?

@hanxu317317
Copy link
Owner

image

我们设计的是, 当省份变化后. 500ms后去变化城市. 避免用户切换太快. 导致城市树构建过于频繁.

@hanxu317317
Copy link
Owner

让我想想. 怎么更好的优化这件事情.

@Junesui
Copy link
Author

Junesui commented Aug 3, 2022

对,这个问题还存在。就是因为500ms延迟的问题。

※【青藤之恋】app里有个城市选择的功能,城市是立即变化的。另外还带了海外选择,看起来挺不错的。

@hanxu317317
Copy link
Owner

青藤这个效果不错. 我这二周找时间给他copy过来~~

@Junesui
Copy link
Author

Junesui commented Aug 3, 2022

哈哈哈。加油。等下一版本了。

@hanxu317317
Copy link
Owner

image
抄起来. 还是很爽的. 剩下的难点在于. 全球数据怎么统计. 使用 geonameid还是code码, 一个int 一个string.

@Junesui
Copy link
Author

Junesui commented Aug 3, 2022

666。 数据源不是可以指定吗。就像国内的那个数据源,用户可以自己指定,按照规则的格式。

。。源码我没仔细读。


城市显示还是上一个省份的城市 → 这个问题修复了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants