android

Don't interrupt the user's flow

From my point of view user experience is a very important topic but sometimes doesn’t get the attention it deserves. In this blog post I want to show you how to use RecyclerView to build an user experience that is not interrupting the user’s flow. I’m very lucky to work in a very talented team at Tickaroo where we are building and maintaining the android and iOS apps for kicker, one of the most important football magazine in Europe (even though the main language is German).

Continue...

Joe's great adapter hell escape

Let me tell you a story about Joe Somebody an android developer at MyLittleZoo Inc. and how he walked through the hell while trying to create reusable RecyclerView Adapters with different view types and how he finally managed to implement reusable Adapters painlessly. Once upon a time Joe Somebody, an android developer, was working for a young startup called MyLittleZoo Inc.

Continue...

SQLBrite DAO

Earlier this year, one day before Valentine’s Day to be precise, I had the glorious idea (ironie) to surprise my lovely girlfriend with a special android app on Valentine’s Day. Who said computer science can’t be romantic? The idea was simple: I wanted to build an android app that imitates and looks like Tinder but instead of displaying real people nearby, I faked everything so that only my profile gets displayed so she only can choose me.

Continue...

Stinson's Playbook for Mosby

In my previous blog post I introduced Mosby, a Model-View-Presenter library for android. This time I’m going to discuss some more details about MVP in general and Mosby. I have implemented a mail client sample which can be found on Github which is used in this blog entry to describe how to use Mosby and to answer some of the common questions I have been asked after having released Mosby.

Continue...

Ted Mosby - Software Architect

Ted Mosby, architect in How I met your mother (one of my favorite tv shows) was the inspiration for the name of this android library I’m going to talk about in this blog post. This library helps you to build good, robust and reusable software by implementing Model-View-Presenter pattern on android along with some nice features like ViewState for handling screen orientation changes easily.

Continue...

AnnotatedAdapter

With FragmentArgs and ParcelablePlease I have already shown that Annotation Processor is really helpful to speedup development by reducing writing boilerplate code. Regarding Android I found one scenario where I find myself writing nearly the same code ever and ever again. I’m looking at you Adapter with your ViewHolders, layout inflating code and view types.

Continue...

ParcelablePlease

In my last blog post I have introduced FragmentArgs an Annotation Processor for Fragments that reduces writing boilerplate code. In this post I want to talk about a similar problem android developer face: Writing boilerplate code for Parcelable This post is part of a series of posts about useful annotation processors like FragmentArgs or AnnotatedAdapter

Continue...

FragmentArgs

Developing for Android is sometimes painful. You have to write lot of code to do simple things like setting up a Fragment. Fortunately java supports a powerful tool: Annotation Processors This post is part of a series of posts about useful annotation processors like ParcelablePlease or AnnotatedAdapter The Problem with Fragments is that you have to set arguments (the parameters) for a fragment to make them work correctly.

Continue...

SwipeBack

SwipeBack for Android Activities does pretty the same as the android “back-button” does, but in a really intuitive way by using a swipe gesture The Samsung Galaxy Nexus was one of the first device without hardware buttons for “back”, “home” and “app switching (multitasking)” but used the androids navigation bar on screen (introduced in Android 4.

Continue...