Android 01/08/2017 Maciej No comments

Fragment.setArguments() misusage

Recently I was focused on increasing crash-free session rate in an Android app I’m working on. We use fabric.io, which gathers and keeps track of all crashes that occurred in the app. One of them looked like this: Caused by java.util.NoSuchElementException com.myapp.PaymentsProviderService$getPaymentProviderByIdentifier$1.call (PaymentsProviderService.kt:54) com.myapp.payment.PaymentsProviderService$getPaymentProviderByIdentifier$1.call (PaymentsProviderService.kt:29) rx.internal.operators.SingleOnSubscribeMap$MapSubscriber.onSuccess (SingleOnSubscribeMap.java:66) The code that was causing crash fetched PaymentProvider object by its […]

Uncategorized 28/06/2017 Maciej No comments

Hello, World!

I think that “Hello, World” text is among one of most commonly used titles for the first post on programmer’s blogs. But there’s a good reason for that. Most of us usually started our programmer’s adventure with that phrase. And if we start learning programming with “Hello world” program, why wouldn’t we start blogging the same way? I’ve been thinking […]