|
|
@ -81,9 +81,8 @@ public class ImageViewFragment extends Fragment implements ThumbnailImageViewCal |
|
|
|
public void onActivityCreated(Bundle savedInstanceState) { |
|
|
|
public void onActivityCreated(Bundle savedInstanceState) { |
|
|
|
super.onActivityCreated(savedInstanceState); |
|
|
|
super.onActivityCreated(savedInstanceState); |
|
|
|
|
|
|
|
|
|
|
|
if (post == null) { |
|
|
|
|
|
|
|
// No restoring
|
|
|
|
// No restoring
|
|
|
|
} else { |
|
|
|
if (post != null) { |
|
|
|
if (!post.hasImage) { |
|
|
|
if (!post.hasImage) { |
|
|
|
throw new IllegalArgumentException("Post has no image"); |
|
|
|
throw new IllegalArgumentException("Post has no image"); |
|
|
|
} |
|
|
|
} |
|
|
|