Android RecyclerView – Simple List
RecyclerView The replacement for ListView, GridView and a couple of other components. To gain good performance you need to implement the ViewHolder pattern unfortunately there is a lot of ways…
RecyclerView The replacement for ListView, GridView and a couple of other components. To gain good performance you need to implement the ViewHolder pattern unfortunately there is a lot of ways…
If you have worked a while with jUnit you may have seen jUnit Rules. Simply put, a field in a test class annotated with @Rule is a class that lets…
PowerMock 1.6.0 was released a couple of days ago and the main new feature expect for better support for Mockito 1.10.x is the ability to combine the PowerMockRunner with another…
I have written about Spring's support for web response error handling a few times before (e.g. about custom error responses and how they can be generalized). This time, we will…
When I first heard about Elixir at Øredev 2012 I thought it was nice, but I didn't really get it. I remember thinking than Elixir was like Ruby for the…
10 months ago or so I wrote a blog post entitled Immutable List Collector in Java 8 (that probably should have been named "Unmodifiable List Collector in Java 8" to…
It is not unusual that your web service needs to communicate with another web service in order to serve its clients. In the old days, that would imply that an…
Writing good tests is something that is important in virtually all software projects. In this blog we'll use Midje and Leiningen for integration testing. Midje is a test framework for…
It's often useful to have both an API and a website serving HTML in the same project. Compojure is a popular routing library in Clojure built on top of the…
A big part of the DevOps responsibilities is to monitor and maintain the health of running servers. If a production server goes down, appropriate actions must be undertaken to bring…
Spring Boot brings about some welcome defaults configurations that significantly decreases the development time of Spring projects. It also has some useful additions when it comes to simplified integration testing.…
Launching a Java Virtual Machine can be as easy as running java -classpath myapp.jar Main or even shorter java -jar myapp.jar if your using the Main-Class attribute in META-INF/MANIFEST.MF. This…
Some Java applications need to be able to load plugins, in the form of .jar files, from untrusted sources, and execute code from such plugins with restricted permissions, for example…
When working with distributed systems it's important to take failure into account. The book Release It! is a great book for learning how to deal with some of these issues.…
Last week we visited the GeeCON conference in Krakow as speakers and participants. The event attracted some 1200 visitors according to the organizers, and it was located inside a cinema…