(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/sh | |
| find . -name *.iml -print0 | xargs -0 rm | |
| rm -rf .idea/ |
| import rx.Observable; | |
| import rx.subjects.PublishSubject; | |
| import rx.subjects.SerializedSubject; | |
| import rx.subjects.Subject; | |
| /** | |
| * Simple pass-thru event bus with error handling and reconnect. | |
| */ | |
| public class EventBus { |
| /** | |
| * Created by Bill on 7/28/14. | |
| */ | |
| public class LearningApplication extends Application { | |
| private static final String TAG = QuickeyLearningApplication.class.getSimpleName(); | |
| @Override | |
| public void onCreate() { | |
| super.onCreate(); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| package com.company.app.PlatformMethods; | |
| import java.util.HashMap; | |
| import java.util.Iterator; | |
| import java.util.LinkedList; | |
| import java.util.Queue; | |
| import java.util.Set; | |
| import android.app.PendingIntent; | |
| import android.content.BroadcastReceiver; |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import org.joda.time.DateTime; | |
| import java.io.Serializable; | |
| import static org.joda.time.DateTime.now; | |
| /** |
| -- ------------------------------------------------------------------------------------------------------- | |
| -- A SQL script for importing GFTS data from the State of Delaware into a MySQL database. | |
| -- | |
| -- Copyright 2010 Mark J. Headd | |
| -- http://www.voiceingov.org | |
| -- | |
| -- This file is free software; you can redistribute it and/or modify it under the terms of the | |
| -- GNU Library General Public License as published by the Free Software Foundation; either version 2 of the | |
| -- License, or (at your option) any later version. | |
| -- This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |