文章目录 获取全局的context,可以通过 获取全局的context,可以通过 android.content.ContextWrapper public android.content.Context getApplicationContext()方法拿到