Variable is accessed from within inner class ,need to be declared final 解决的办法就是,在这个变量前面加上“final”,让其变为一个常量