VBM on Android - The Mediator

There's actually a reason I put VBM in the title of this series. And aside from some lightweight organization of the UI layer, a major aspect to the VBM structure is utilizing the mediator as the layer to encapsulate any logic branching code and protect the rest of…

VBM on Android - Top Stories Full Data

I've thought a bit about my TDD limitations on Android and my discovery of the GoLang-y nature of interfaces. For the TopStoriesAdapter.ViewHolder to be tested; we can create a wrapper for other controls... Now I understand why Android didn't do it originally; performance; TDD was…

VBM on Android - Top Stories Item Layout

Making the UI This is what we're starting with: and we'll be looking to improve this and effectively display the information from HackerNews. Let's start this with saying that UI; it's not my thing. I do my creativity in code. I don&…

VBM on Android - Top Stories Screen

OK - Looks like we've gotten to the point where building out a UI is gonna be a good next step. We need to know what we want to see to know what app innards to build up. Sure, sure "Top Stories"; but honestly, I have…

VBM on Android - Ruthless Refactoring

I was looking at the code today to see if I could use the new Moshi 1.4 [https://github.com/square/moshi/blob/master/CHANGELOG.md] and thought I should poke about to see if there's any obvious changes out the network layer I could/should change.…

VBM on Android - Unit Test in Espresso

Much like the post on Appium [https://quinngil.com/2017/02/12/vbm-on-android-initial-appium]; This Espresso post is tied to activities going on at work. This isn't published until long after a decision has been made; but it will serve as my learning so I can participate in the…

VBM on Android - Initial Appium

Pre-ramble Appium is an excellent tool for testing an app running "for reals". No faking talking to other systems - it has to hit the real stuff. I prefer Appium for this as it forces that separation. It requires the application to be treated as a black box.…

VBM on Android - Retrofit Functional Tests

The first thing I'll do for this post is define my use of Functional Tests. This is something I feel needs to be done because the related type of testing, Integration Tests can easily be swapped for each other. In fact I work with people who use them…