public void setMinStackInAdapter(int MIN_ADAPTER_STACK){
        this.MIN_ADAPTER_STACK = MIN_ADAPTER_STACK;
    }
Set the top view and add the fling listener
library/src/main/java/com/lorentzos/flingswipe/SwipeFlingAdapterView.java