关于View控件中的Context选择

Dialog loadingDialog = new Dialog(context, R.style.loading_dialog);
类如该Context一般选择this,不会使用getApplicationContext()来获取。因为本身Activity就是一个Context。
posted @ 2015-08-03 11:54  黑泡man  阅读(278)  评论(0编辑  收藏  举报