Skip to content

Instantly share code, notes, and snippets.

View JvmName's full-sized avatar
📱

Parth Padgaonkar JvmName

📱
View GitHub Profile
@JvmName
JvmName / ObservableMapFilter.java
Last active April 12, 2018 05:45
A quick-n-dirty hybrid of RxJava's Map + Filter operators
import io.reactivex.Observable;
import io.reactivex.Observer;
import io.reactivex.annotations.NonNull;
import io.reactivex.disposables.Disposable;
import io.reactivex.exceptions.Exceptions;
import io.reactivex.functions.Function;
import io.reactivex.functions.Predicate;
import io.reactivex.internal.disposables.DisposableHelper;
import io.reactivex.internal.functions.ObjectHelper;
import io.reactivex.plugins.RxJavaPlugins;
@JvmName
JvmName / Replay-Android documentation
Created October 29, 2014 05:48
android_api.md?token=ABPBRDYiHQaYupYxK3y5KV6XGa40nV9Wks5UWcgVwA%3D%3D
#Replay.io Android Client Library
Replay.io is an analytics platform that wraps all those other analytics tools so you don't have to. One-touch integrations and smart analysis!
The Android client library is open-source, so view the code [on Github](https://github.com/Originate/replay-android/)!
##Quickstart for Busy Devs
Four easy steps to go from zero to analytics hero:
###Step 1 - Get
If you've got a working Gradle build, simply put `compile io.replay:replay-android:+` in your Dependencies section and everything should "just work"™. If your setup is more complicated, check out the [Installation portion of the Documentation section](#docs-install).
@JvmName
JvmName / Android CI
Created October 28, 2014 23:57
Android CI
#Android and CI and Gradle (A How-To)
There are tech stacks in this world that make it dead simple to integrate a <abbr title="Continuous Integration">CI</abbr> build system. <br>
The Android platform is not one of them.
Although Gradle is getting better, it's still a bit non-deterministic, and some of the fixes you'll need will start to feel more like black magic than any sort of programming.
But fear not! It can be done!
Before we embark on our journey, you'll need a few things to run locally: