Android成员变量和局部变量的错误 成员变量:List<> list=Null; ...... 局部变量:List<> list=new List<>;错误原因:重新new了一个对象,但系统不报错,注意 应该为list=new List<>;