Category: Android

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,...

0

Implementing Face Detection in Android

Recently, I got a task to implement face detection for a camera preview we have within our mobile app. So if the app detects a face, a button should be displayed, otherwise – the...

0

Mastering RecyclerView Animations for Android

Watch this great video to understand how RecyclerView animations work on Android and what are the different components of the RecyclerView. It is really useful if you want to implement your custom item animations....