Never miss a beat

Join my newsletter.

The Archives

Android: ListView, RecyclerView, Adapters

Published: 9/27/2016

I recently started working on part three of my Zero-To-Hero series, which gives us a chance to leverage a RecyclerView and List Adapter for our Todo/Habit application. Though I cover them in that tutorial as well, I feel like they deserve a post to themselves to go a bit more in depth. Code examples are taken from the Turnip app that we build in the Zero-To-Hero series. ListViews So what is a ListView? It’s a very commonly used view group in the Android ecosystem and is used to display a…

Zero to Hero: Android App - Part 2 - Database

Published: 9/26/2016

Oh, hey, didn’t see you there. Glad that you’ve came back for the next part of my Zero to Hero series! Let’s get right into it! Last time, we created an Android app from Android Studio and manually created the View (or the visual representation of one of our screens) for our application. If you’ve missed out on that piece, you probably want to go back and start there, as all of the other posts in this series build off of that one. You can find it here . In this post, we’re going to talk about…

Zero to Hero: Android App - Part 1 - Views

Published: 9/15/2016

App development is never a straight-forward task. In fact, apps are built from many components that handle specific needs. It’s up to you, the app developer, to determine which components you need, how they should be implemented, and how they should interface with the rest of the app. The most common component is called a View. Android Views Look around. What do you see? Sure, the specifics of what you and I see are different, but they both represent the same concept. We both see things that…

Zero to Hero: Android App - Part 0 - Overview

Published: 9/13/2016

I’ve decided to try something new with this post and start a new series called Zero to Hero . The concept behind this is simple – From no knowledge about the proposed domain, we’ll create something cool and get you started with the fundamentals of that domain. Zero knowledge isn’t to say I’ll teach you how to build something as if you have never touched a computer, but it’s, for example, an interactive and fun way to learn Android given: You know what an Android phone is, you’re somewhat…

Overriding Button Styles in Android

Published: 8/22/2016

Android comes with a ton of widgets, gizmos, and gadgets (maybe just widgets) out of the box, but it can be difficult to find one that works exactly how you would expect it to. My advice is this – find one that functions the way you want it to and override the styles to make it look the way you’d like. If that doesn’t work, you can always create a custom view, too! For now, let’s assume that will work, and I’ll show you a recent example where I decided to use Android’s ToggleButton, a widget…

Trial by Code Review

Published: 8/22/2016

Today wasn’t the day, but I remember it like it was. My first big project that I submitted at a big company working with engineers that I respected and looked up to. I pushed my code to our code review tool and anxiously awaited their feedback. Some of it was the most non-constructive feedback that I’ve ever seen in a code review and since then I’ve thought of some standards that might (or might not) be worth adhering to in code reviews. Perhaps a better title for this post is actually A brief…