@@ -0,0 +1,945 @@
+package com.antew.redditinpictures.library.image;%0A%0Aimport android.content.res.Resources;%0A%0Aimport com.antew.redditinpictures.library.R;%0A%0Apublic class ThumbnailInfo %7B%0A    private int thumbnailSize    = 0;%0A    private int thumbnailSpacing = 0;%0A%0A    private ThumbnailInfo(Resources resources) %7B%0A        thumbnailSize = resources.getDimensionPixelSize(R.dimen.image_thumbnail_size);%0A        thumbnailSpacing = resources.getDimensionPixelSize(R.dimen.image_thumbnail_spacing);%0A    %7D%0A    %0A    public static ThumbnailInfo getThumbnailInfo(Resources resources) %7B%0A        return new ThumbnailInfo(resources);%0A    %7D%0A%0A    public int getSize() %7B%0A        return thumbnailSize;%0A    %7D%0A%0A    public void setSize(int thumbnailSize) %7B%0A        this.thumbnailSize = thumbnailSize;%0A    %7D%0A%0A    public int getSpacing() %7B%0A        return thumbnailSpacing;%0A    %7D%0A%0A    public void setSpacing(int thumbnailSpacing) %7B%0A        this.thumbnailSpacing = thumbnailSpacing;%0A    %7D%0A%0A%7D

Add utility class for handling thumbnail size/spacing.