In some cases it would be nice to have custom annotation support in retrofit2. A year ago I started to write a library in which I needed this feature. In this article I will explain how to achieve and implement this.
UPDATE: There’s an updated and more detailed version of this article using Kotlin:
I guess in most cases you don’t need to use custom annotations, but interceptors. Since retrofit2 is based on okhttp, you can use interceptors (in retrofit 1.X this was supported by retrofit itself, too). But what does it do? Well, basically every request you call (using…
This article is a comparison of the currently available 3x3 Rubic cubes, that are able to submit their current state to a mobile app.
Hey I am André. I am a Software Engineer focussing on mobile platforms. One year ago I started cubing, because I was interested on how that puzzle can be solved. While in the end the solution was pretty simple, I’ve noticed that there’s a HUGE community and even big events about it.
Because it felt weird that in the year 2018 people starting and stoping their cube counter still manually, I have been searching for an…
Before Google IO ‘16, I was a bit unsatisfied with Firebase, searching for a better solution. Why? Because Firebase is supposed to be an all-round solution and only covered most but not all of our Problems. Let’s take a look what happened so far. This article will mainly focus on Notifications and FCM.
Yes, this problem is covered with Firebase very well! As a developer you don’t need to take care of this. There may some cases, where you could wish of other behaviours, but to be honest, I cannot think of one.
This is covered by Firebase, too. The…
I’ve been writing a couple of android libraries open and closed source ones. At one point, a library(not all of them, but a few) need a context to initialise, which is not such an easy task to achieve since the first time that the context is available is in the onCreate method of the Application Object. That’s why many libraries have an init method, which you have to call in the applications Application Object. In this article I’ll show you another way of doing it.
So I guess many of you have seen something like this before: