Category: Android

0

Applying Clean Architecture in Android

Short Intro For 4 months now I have been implementing “clean architecture” in my current project. The project is huge, more than 17 Android developers work on it including me, so it is important...

0

Make Retrofit work for you

Making Retrofit work for you – PRESENTATION Http Client Retrofit is not an HTTP client. It: – Prepares requests – Makes requests – Lets someone else to execute them Building Two API classes Problem...

0

Handling Android crashes

Video This lecture explains the basic concepts behind Android crash handling and different approaches to it. I decided to make a simple list of notes so every person can use this list whenever he...

0

RxJava toList – completes only after onComplete is called

  mGetActiveHubUpdatesInteractor.getActiveHubUpdates() .filter(Optional::isPresent) .firstOrError() .map(Optional::get) .flatMap(activeHub -> mGetActiveHubEventsInteractor.getActiveHubEvents(activeHub, startTime, endTime)) .flattenAsObservable(list -> list) .map(mActiveHubEventUiMapper::toUiActiveHubEvent) .toList() .subscribe(this::populateEvents, this::handleError); This is a quick reminder for those of you who use RxJava and the toList() operator.  toList()...

0

Android Developer Toolbox – Notes

Android Developer Toolbox – Notes Gradle Create different build variants which contain different code of your app Internal – for the company. Embed a lot of tools to locate issues easily. Production – only...

0

Exporting Card.IO as a fragment

You probably know the famous card detection library called card.io. It is developed by PayPal and used worldwide. There is a lot of OpenCV usage behind it, but I will leave this for another...

0

Testable Adapter class with MVP

I found this interesting article about Android adapters. It is not very well written but you can easily get the idea once you dig into the code from Github. The Adapter dual nature Well,...