Allow me to introduce EssentialsLoader. EssentialsLoader is my image loading (lazy loading) system that I’ve been using for sometime now. It’s part of the Essentials tools (along with EssentialsLogger) that I’ve created and decided to release publicly. So why did I create my own image loading system when there are others out there such as [...]
Introducing EssentialsLoader
May 6th, 2013 · 3 Comments · Android, EssentialsLoader, OOP
Tags:Android·android listview images·essentialsloader·image loader·image loading·lazy loading·OOP
Android Architecture: Structuring Network Calls, Part 3
October 7th, 2012 · No Comments · Android, OOP
So far we’ve talked about some theory and OOP design principles and making our request asynchronous. In this post we’re going to discuss what was going on inside of the AsyncTask to make the network request and parse the data. Much like most of my posts, I won’t be discussing how to make a network [...]
Tags:Android·commands·Design Patterns·design principles·dom·DRY·flexible android·http·json·MVC·OOP·open-closed principle·Single Responsibility Principle·xml
Android Architecture: Structuring Network Calls, Part 2
September 30th, 2012 · 8 Comments · Android, OOP
What is the Command Pattern? Even if you don’t know what it is you’ve most likely implemented it before. It’s a pretty simple concept: you encapsulate a behavior that can be executed at a later time. Does that ring a bell? In Android, there are two very common types of command objects that are used: [...]
Tags:Android·commands·Controller·Deign Patterns·Design Pattern·design principles·flexible android·MVC·OOP·open-closed principle
Android Architecture: Structuring Network Calls, Part 1
September 29th, 2012 · 2 Comments · Android, OOP
Way back in my very first post I mentioned I would cover structuring http request calls. Not quite a year later and I’m finally getting around to writing the post. YaY! Down to business I see 3 basic parts to the request call: making it asynchronous, requesting the payload, and parsing the payload into a [...]
Tags:Android·commands·Controller·Deign Patterns·design principles·flexible android·MVC·OOP·open-closed principle
Android Architecture: Part 10, The Activity Revisited
July 9th, 2012 · 24 Comments · Android, OOP
Back in Part 4 of the series I mentioned that the Activity naturally functions like a controller and not a View. If you examine the hook methods (like onPause, onResume, etc) and how the Activity is created it becomes clear that the Activity isn’t a View. Views should be dumb. Controllers are smart and handle [...]
Tags:Android·Controller·Deign Patterns·flexible android·Model·MVC·OOP·View