Quantcast
Channel: Android Developer » OOP
Browsing latest articles
Browse All 10 View Live

Android Architecture: Part 8, State Pattern

This is the part where I address what’s happening in TapController that I’ve been avoiding until now. Unlike MVC and DOAs, I wouldn’t consider the State Pattern to be an essential part of Android...

View Article



Android Architecture: Part 9, Conclusion

In the previous 8 articles we discussed in-depth all parts to setting up a well-architected Android project. This post will mostly be some of my general thoughts about our project Tap Counter,  MVC in...

View Article

Styling Android With Defaults

According to Android’s own documentation, there is no documentation for styling Android. You’d think with the power of Google and huge market penetration, the Android team with have the commitment by...

View Article

Event Dispatching: Sending Messages

This post will be discussing how to get objects to communicate with each other. If we look at a standard MVC diagram we see 2 types of arrows on the diagram: solid arrows and dotted arrows. The solid...

View Article

Not Everything is Polymorphic

Recently I have been blessed with having an amazing 7 months of freelancing on different projects and working with a variety of people. I got to work with a range of developers from beginners to...

View Article


Android Architecture: Part 10, The Activity Revisited

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...

View Article

Android Architecture: Structuring Network Calls, Part 1

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...

View Article

Android Architecture: Structuring Network Calls, Part 2

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....

View Article


Android Architecture: Structuring Network Calls, Part 3

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...

View Article


Introducing EssentialsLoader

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)...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images