chinwag-android/app/src/main/java/com/keylesspalace/tusky/interfaces/StatusActionListener.java

34 lines
1.4 KiB
Java
Raw Normal View History

2017-01-20 19:09:10 +11:00
/* Copyright 2017 Andrew Dawson
*
2017-04-10 10:12:31 +10:00
* This file is a part of Tusky.
2017-01-20 19:09:10 +11:00
*
2017-04-10 10:12:31 +10:00
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
2017-01-20 19:09:10 +11:00
*
* Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
2017-04-10 10:12:31 +10:00
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
2017-01-20 19:09:10 +11:00
*
2017-04-10 10:12:31 +10:00
* You should have received a copy of the GNU General Public License along with Tusky; if not,
* see <http://www.gnu.org/licenses>. */
2017-01-20 19:09:10 +11:00
2017-05-05 08:55:34 +10:00
package com.keylesspalace.tusky.interfaces;
import android.view.View;
2017-12-01 06:12:09 +11:00
import com.keylesspalace.tusky.entity.Attachment;
2017-05-05 08:55:34 +10:00
public interface StatusActionListener extends LinkListener {
void onReply(int position);
void onReblog(final boolean reblog, final int position);
void onFavourite(final boolean favourite, final int position);
void onMore(View view, final int position);
void onViewMedia(int position, int attachmentIndex, View view);
void onViewThread(int position);
2017-06-28 18:10:56 +10:00
void onOpenReblog(int position);
void onExpandedChange(boolean expanded, int position);
void onContentHiddenChange(boolean isShowing, int position);
2017-11-04 08:17:31 +11:00
void onLoadMore(int position);
}