android中的两种上下文区别

1、this    继承于content      子类

2、getAppliCationContext()     返回值为context    父类

父类有的子类都有,子类父类不一定有。

在对话框只能用this,不能用geiAppliCationContext()

原文地址:https://www.cnblogs.com/zengsf/p/7777752.html