← Back to all blogs

Posts tagged with 'android-architecture'

Getting Started with Android Views, Layouts, and the Object Pooling pattern

In this article I'll delve into my third sprint where we go deeper into Android architecture and cover Views, Layouts, and the Object Pooling pattern.

Introduction to Android testing using Mockito and Espresso

Unit testing is essential to expediting your development time and minimizing regression issues that reach QA or even production. In this article, we'll examine how to utilize Mockito, Robolectric to expedite various aspects of unit testing. Outside of unit tests it's important to also test the UI to assert current state after a sequence of simulated user gestures or input utilizing Espresso. Finally, we'll cover how to maximize our code reuse for our Espresso tests by adhering to Jake Wharton's Robot Pattern.

Dependency Inversion using Dagger2

In this article we'll take a look at the concept of dependency injection, how it can improve your code, and using the Dagger2 framework to implement dependency injection into your Android code.

Exploring Realm on Android

Realm is the newest kid on the block regarding mobile databases. Realm is that it is not an ORM (Object Relational Mapping) built on top of SQLite but rather it's own persistence engine. This article is an exploration of why I chose it for the DebugRank app.

Applying MVP in Android

This article covers how I utilized MVP in the architecture of the DebugRank app. First I’ll cover what MVP is at a high level, then I’ll provide some code snippets of what each layer looks like in Android. Afterwards I’ll cover the use cases, who, what, and when to use MVP, and finally some Q&A.

DebugRank: HackerRank for Debugging

HackerRank is the go to tool for enhancing algorithm skills. It's a website that allows you to perform coding exercises with any popular programming language at varying levels of difficulty. But what if you want to improve your code review and debugging skills? This is where DebugRank comes into play, a native Android app built to challenge your ability to find and fix bugs in existing code. DebugRank gamifies debugging code by giving you a time limit to add that extra challenge.