Skip to content

Instantly share code, notes, and snippets.

Arash aaraashkhan

  • https://github.com/spotify
  • Stockholm, Sweden
View GitHub Profile
View gist:7c1128f6ff5c814496c83f65d4753749
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
public class KPref {
enum KDataType {
String(1),
@aaraashkhan
aaraashkhan / RetrolamdaSamples
Created Dec 5, 2016
Scattered scripts in Java for testing Retrolambda and Reactive Programming in Java
View RetrolamdaSamples
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
import com.jakewharton.rxbinding.view.RxView;
import java.util.ArrayList;
import rx.Observable;
import rx.android.schedulers.AndroidSchedulers;
import rx.functions.Action1;
import rx.schedulers.Schedulers;
You can’t perform that action at this time.