Variable is accessed from within inner class ,need to be declared final
解决的办法就是,在这个变量前面加上“final”,让其变为一个常量
内部类中不能引用本地变量,需要声明为常量
最新推荐文章于 2025-01-15 00:00:00 发布
Variable is accessed from within inner class ,need to be declared final
解决的办法就是,在这个变量前面加上“final”,让其变为一个常量