Android Speedy Apps
The first time I coded for Android was with Eclair (2.1). Bought a Nexus One to develop some apps with it. Nowadays, Android has gone a long way but still, most fundamentals to make your apps snappy still applies. I’m going down memory lane to post some of the optimizations producing effective and efficient codes. Static Method & Properties Like in any platform, memory is the key to performance. The better we utilize memory, the better the performance. With Android, utilizing memory is as simple as defining the right static class properties and methods. When you set a static property or method, it will always be referenced once at run time. Hence, all the references are already in the memory before you call any of them. ...