。StrictMode.ThreadPolicy政策=新StrictMode.ThreadPolicy.Builder()permitAll()建(); [英] StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();

查看:1558
本文介绍了。StrictMode.ThreadPolicy政策=新StrictMode.ThreadPolicy.Builder()permitAll()建();的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();

我想知道这一点。结果

I want to know about it.

它如何工作?

推荐答案

StrictMode是一个开发工具,它偶然检测到的东西,你可能会做,并使其你的注意力,以便您可以解决这些问题。
StrictMode最常用来捕捉应用程序的主线程,在UI操作接收和动画发生在偶然的磁盘或网络访问

StrictMode is a developer tool which detects things you might be doing by accident and brings them to your attention so you can fix them. StrictMode is most commonly used to catch accidental disk or network access on the application's main thread, where UI operations are received and animations take place

和更多信息,请阅读

这篇关于。StrictMode.ThreadPolicy政策=新StrictMode.ThreadPolicy.Builder()permitAll()建();的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆