|
|
@ -411,9 +411,11 @@ public class ThreadPresenter implements ChanLoader.ChanLoaderCallback, PostAdapt |
|
|
|
public void onPostOptionClicked(Post post, Object id) { |
|
|
|
public void onPostOptionClicked(Post post, Object id) { |
|
|
|
switch ((Integer) id) { |
|
|
|
switch ((Integer) id) { |
|
|
|
case POST_OPTION_QUOTE: |
|
|
|
case POST_OPTION_QUOTE: |
|
|
|
|
|
|
|
threadPresenterCallback.hidePostsPopup(); |
|
|
|
threadPresenterCallback.quote(post, false); |
|
|
|
threadPresenterCallback.quote(post, false); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case POST_OPTION_QUOTE_TEXT: |
|
|
|
case POST_OPTION_QUOTE_TEXT: |
|
|
|
|
|
|
|
threadPresenterCallback.hidePostsPopup(); |
|
|
|
threadPresenterCallback.quote(post, true); |
|
|
|
threadPresenterCallback.quote(post, true); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case POST_OPTION_INFO: |
|
|
|
case POST_OPTION_INFO: |
|
|
@ -652,6 +654,8 @@ public class ThreadPresenter implements ChanLoader.ChanLoaderCallback, PostAdapt |
|
|
|
|
|
|
|
|
|
|
|
void showPostsPopup(Post forPost, List<Post> posts); |
|
|
|
void showPostsPopup(Post forPost, List<Post> posts); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void hidePostsPopup(); |
|
|
|
|
|
|
|
|
|
|
|
List<Post> getDisplayingPosts(); |
|
|
|
List<Post> getDisplayingPosts(); |
|
|
|
|
|
|
|
|
|
|
|
void showImages(List<PostImage> images, int index, Loadable loadable, ThumbnailView thumbnail); |
|
|
|
void showImages(List<PostImage> images, int index, Loadable loadable, ThumbnailView thumbnail); |
|
|
|