citypicker icon indicating copy to clipboard operation
citypicker copied to clipboard

数据源是否可以由外部传入?

Open wangpingtaohn opened this issue 2 years ago • 3 comments

数据源是否可以由外部传入,比如Json数据源是我的服务端接口返回的。

wangpingtaohn avatar Apr 26 '22 14:04 wangpingtaohn

是可以的,你可以参考一下自定义数据源的样式

wangpingtaohn @.***> 于2022年4月26日周二 22:19写道:

数据源是否可以由外部传入,比如Json数据源是我的服务端接口返回的。

— Reply to this email directly, view it on GitHub https://github.com/crazyandcoder/citypicker/issues/222, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBXQBAX6R53OVQGVOIRWCDVG73OVANCNFSM5UMARJZQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

crazyandcoder avatar Apr 27 '22 03:04 crazyandcoder

是可以的,你可以参考一下自定义数据源的样式 wangpingtaohn @.> 于2022年4月26日周二 22:19写道: 数据源是否可以由外部传入,比如Json数据源是我的服务端接口返回的。 — Reply to this email directly, view it on GitHub <#222>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBXQBAX6R53OVQGVOIRWCDVG73OVANCNFSM5UMARJZQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

只能是滚轮样式吗?是否支持列表样式,跟抖音那样的布局,有历史记录,有热门区域,底下是列表样式。是否支持?

wangpingtaohn avatar Apr 27 '22 03:04 wangpingtaohn

暂不支持,目前这种需求很少。你可以参考我的列表样式,然后换成你自己的数据源。

wangpingtaohn @.***> 于2022年4月27日周三 11:35写道:

是可以的,你可以参考一下自定义数据源的样式 wangpingtaohn @.

> 于2022年4月26日周二 22:19写道: … <#m_-7161854770169708215_> 数据源是否可以由外部传入,比如Json数据源是我的服务端接口返回的。 — Reply to this email directly, view it on GitHub <#222 https://github.com/crazyandcoder/citypicker/issues/222>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBXQBAX6R53OVQGVOIRWCDVG73OVANCNFSM5UMARJZQ https://github.com/notifications/unsubscribe-auth/ADBXQBAX6R53OVQGVOIRWCDVG73OVANCNFSM5UMARJZQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

只能是滚轮样式吗?是否支持列表样式,跟抖音那样的布局,有历史记录,有热门区域,底下是列表样式。是否支持?

— Reply to this email directly, view it on GitHub https://github.com/crazyandcoder/citypicker/issues/222#issuecomment-1110498167, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBXQBES4UCFCRRWFPAYS33VHCYZ3ANCNFSM5UMARJZQ . You are receiving this because you commented.Message ID: @.***>

crazyandcoder avatar Apr 28 '22 09:04 crazyandcoder