android - 安卓开发中,在匿名类中为外部类赋值问题
迷茫
迷茫 2017-04-17 14:40:56
0
3
648

我在匿名类中给外部类的arraylist添加了一系列的值 但在外部类中取出来都是空的,为什么??

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(3)
洪涛

Publish the source code. This is not possible under normal circumstances. It is difficult to locate without the source code

阿神

It’s a matter of execution order. The listData has not been filled with data when onCreate is called

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!