官术网_书友最值得收藏!

Summary

In this chapter, we learned that Google takes the efficiency of the Android platform very seriously. We also looked at the extraordinary lengths they go to in order to ensure a smooth user experience, evidencing the importance of building responsive applications.

We discussed the Android thread model and the measures that the platform may take to protect the user from apps that misbehave or are not sufficiently responsive.

Finally, we gained an overview of the general approach to building responsive apps through concurrency, and learned some of the issues faced by developers of concurrent software in general and Android applications in particular.

In the next chapter, we'll start to build responsive applications by applying the infamous AsyncTask instance to execute work in the background using pools of threads, and return progress updates and results to the main thread.

主站蜘蛛池模板: 大悟县| 新泰市| 武汉市| 榆中县| 仪陇县| 宜州市| 昆山市| 南木林县| 会同县| 竹山县| 维西| 兴义市| 荆门市| 新源县| 富阳市| 兴业县| 张家港市| 喀喇| 恩施市| 林周县| 海丰县| 孝感市| 威远县| 修文县| 正定县| 青冈县| 洪湖市| 奎屯市| 临汾市| 泰安市| 柏乡县| 九龙坡区| 青阳县| 婺源县| 尚志市| 南漳县| 肇源县| 绍兴市| 建瓯市| 原平市| 登封市|