Category Archives: apps

CountDownLatch for Swift

In Java, CountDownLatch is a class in the JDK that is often used together with asynchronous tasks, and in tests. An example use case is when you need two HTTP requests to complete before going to the next step, like in a login form where two HTTP requests must complete before the user can start using the app.… Read More »

Globally replacing the default font in your Android app

Want to use a custom font for your Android app?
In the layout xml or code you can override the default font, but you’ll have to repeat this exercise for every View with text in it, or at the least, repeat a style declaration all over the place.
Here’s how to override it once and for all!