BetterSpinner icon indicating copy to clipboard operation
BetterSpinner copied to clipboard

动态加载

Open Catherinelhl opened this issue 9 years ago • 5 comments

嗨,我用了这个jar,但是,在spinner一上来的时候,我是没有数据的,然后动态加载,怎么实现,我这边一致都只有一个item!求解

Catherinelhl avatar Aug 15 '15 11:08 Catherinelhl

你加载好了数据传到adapter里之后,用notifyDataSetChanged();

Lesilva avatar Aug 17 '15 13:08 Lesilva

是的,我是这样的!

Catherinelhl avatar Aug 22 '15 07:08 Catherinelhl

但是还是木有用

Catherinelhl avatar Aug 22 '15 07:08 Catherinelhl

@Catherine0728 那是试试加载完了重新setAdapter()或者贴代码看看。

Lesilva avatar Aug 25 '15 15:08 Lesilva

加载完了重新setAdapter() 也无效

protectedMan avatar Sep 29 '16 09:09 protectedMan