use of com.keylesspalace.tusky.interfaces.StatusRemoveListener in project Tusky by Vavassor.
the class AccountActivity method onUserRemoved.
@Override
public void onUserRemoved(String accountId) {
for (Fragment fragment : pagerAdapter.getRegisteredFragments()) {
if (fragment instanceof StatusRemoveListener) {
StatusRemoveListener listener = (StatusRemoveListener) fragment;
listener.removePostsByUser(accountId);
}
}
}
use of com.keylesspalace.tusky.interfaces.StatusRemoveListener in project Tusky by Vavassor.
the class ViewThreadActivity method onUserRemoved.
@Override
public void onUserRemoved(String accountId) {
if (viewThreadFragment instanceof StatusRemoveListener) {
StatusRemoveListener listener = (StatusRemoveListener) viewThreadFragment;
listener.removePostsByUser(accountId);
}
}
use of com.keylesspalace.tusky.interfaces.StatusRemoveListener in project Tusky by Vavassor.
the class MainActivity method onUserRemoved.
@Override
public void onUserRemoved(String accountId) {
TimelinePagerAdapter adapter = (TimelinePagerAdapter) viewPager.getAdapter();
for (Fragment fragment : adapter.getRegisteredFragments()) {
if (fragment instanceof StatusRemoveListener) {
StatusRemoveListener listener = (StatusRemoveListener) fragment;
listener.removePostsByUser(accountId);
}
}
}
use of com.keylesspalace.tusky.interfaces.StatusRemoveListener in project Tusky by Vavassor.
the class ViewTagActivity method onUserRemoved.
@Override
public void onUserRemoved(String accountId) {
StatusRemoveListener listener = (StatusRemoveListener) timelineFragment;
listener.removePostsByUser(accountId);
}
Aggregations