mContext 作为一个activity对象,很多东西都要通过它才能用,如resource,如layout 转载于:https://www.cnblogs.com/xiaohanying/p/3222715.html