package info.izumin.android.droidux;

import rx.Observable;

/**
 * Created by izumin on 11/2/15.
 */
public abstract class Middleware {
    public static final String TAG = Middleware.class.getSimpleName();

    private Store store;

    public void onAttach(Store store) {
        this.store = store;
    }

    public Store getStore() {
        return store;
    }

    public abstract Observable<Action> beforeDispatch(Action action);
    public abstract Observable<Action> afterDispatch(Action action);
}

@@ -127,16 +127,19 @@
 ddleware
+%3CS%3E
  %7B%0A    p
@@ -218,20 +218,16 @@
 rivate S
-tore
  store;%0A
@@ -253,20 +253,16 @@
 Attach(S
-tore
  store) 
@@ -310,20 +310,16 @@
 public S
-tore
  getStor

Improve Middleware -> Middleware<T>