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

  • Asynchronous Android
  • Steve Liles
  • 360字
  • 2021-07-21 17:51:44

Preface

Programming is the most fun a person can have on their own. This is a fact well-known to programmers, though it seems the rest of the world is yet to catch on. You already know this or you wouldn't be reading this book, but it constantly amazes me that more people aren't falling over themselves to learn to code.

Meanwhile, mobile devices have made computers fun even for non-coders. We carry in our pockets small machines with incredible processing power and a giddying array of sensors and interfaces.

Android takes these fun machines and makes them accessible to programmers through a fabulously well-crafted platform and tool chain, in a programming language that has stood the test of time yet continues to develop and evolve.

What could possibly be better than programming fun machines to do cool things, in a powerful language, on a well-crafted platform, with a world-class tool chain? For me, the answer is doing so with a good enough understanding of those things to make the difference between a good app and a great one.

There are many things that must come together to make a great app. You need a great idea—I can't help you there. You need a pretty user interface—sorry, wrong book. You need a great user experience—aha! Now we're getting somewhere. Among the many things that contribute to a great user experience, responsiveness is right up there near the top of the list.

It's easiest to define responsiveness with examples of its lack: pauses and glitches while scrolling content, user interfaces that freeze while loading data from storage, applications that don't give progress updates to let us know what's happening, failing to complete work that we initiated, staring at a spinner while data is fetched from the network, and the list goes on.

This book is about making the difference between a good app and a great one; smoothing out the glitches, keeping the UI responsive, telling the user how things are going, making sure we finish what we started, using those powerful multicore processors, and doing it all without wasting the battery. Let's have some fun!

主站蜘蛛池模板: 秀山| 宁远县| 叶城县| 宁都县| 定襄县| 留坝县| 荣昌县| 河南省| 威海市| 庆元县| 平定县| 陵川县| 栖霞市| 天镇县| 登封市| 湟源县| 鄂伦春自治旗| 镇赉县| 石嘴山市| 汝城县| 海淀区| 栾川县| 梁河县| 太和县| 科尔| 额济纳旗| 高雄县| 察隅县| 翼城县| 徐州市| 滁州市| 枝江市| 安宁市| 蒲城县| 麦盖提县| 望奎县| 通河县| 海淀区| 山东| 迁安市| 崇礼县|