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, 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$ (PaymentsProviderService.kt:54) com.myapp.payment.PaymentsProviderService$getPaymentProviderByIdentifier$ (PaymentsProviderService.kt:29) rx.internal.operators.SingleOnSubscribeMap$MapSubscriber.onSuccess ( The code that was causing crash fetched PaymentProvider object by its […]