在内部类中使用context , 比如说按钮的点击监听中 , 因为类对象改变了 , 所以不能用this , 但是可以调用外部类中的A.this
另外可以使用getBaseContext()函数获得context