|
|
@ -87,11 +87,11 @@ public class PostRepliesController extends Controller { |
|
|
|
ThumbnailView thumbnail = null; |
|
|
|
ThumbnailView thumbnail = null; |
|
|
|
for (int i = 0; i < listView.getChildCount(); i++) { |
|
|
|
for (int i = 0; i < listView.getChildCount(); i++) { |
|
|
|
View view = listView.getChildAt(i); |
|
|
|
View view = listView.getChildAt(i); |
|
|
|
if (view instanceof PostView) { |
|
|
|
if (view instanceof PostCell) { |
|
|
|
PostView postView = (PostView) view; |
|
|
|
PostCell postView = (PostCell) view; |
|
|
|
Post post = postView.getPost(); |
|
|
|
Post post = postView.getPost(); |
|
|
|
if (post.hasImage && post.imageUrl.equals(postImage.imageUrl)) { |
|
|
|
if (post.hasImage && post.imageUrl.equals(postImage.imageUrl)) { |
|
|
|
thumbnail = postView.getThumbnail(); |
|
|
|
thumbnail = postView.getThumbnailView(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|