package com.miguelbcr.ui.rx_paparazzo2.interactors;

public final class Dimensions {

    private int width;
    private int height;

    public Dimensions(int width, int height) {
        this.width = width;
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public boolean hasSize() {
        return width > 0 && height > 0;
    }
}

@@ -50,39 +50,147 @@
 s;%0A%0A
-public final class Dimensions %7B
+import java.io.Serializable;%0A%0Apublic final class Dimensions implements Serializable %7B%0A%0A    private static final long serialVersionUID = 1L;
 %0A%0A  

Make dimensions serializable