Search in sources :

Example 6 with BaseActivity

use of com.keylesspalace.tusky.BaseActivity in project Tusky by Vavassor.

the class ViewThreadFragment method onShowReblogs.

@Override
public void onShowReblogs(int position) {
    String statusId = statuses.get(position).getId();
    Intent intent = AccountListActivity.newIntent(getContext(), AccountListActivity.Type.REBLOGGED, statusId);
    ((BaseActivity) getActivity()).startActivityWithSlideInAnimation(intent);
}
Also used : BaseActivity(com.keylesspalace.tusky.BaseActivity) Intent(android.content.Intent)

Aggregations

BaseActivity (com.keylesspalace.tusky.BaseActivity)6 Intent (android.content.Intent)3 TabLayout (android.support.design.widget.TabLayout)1 RecyclerView (android.support.v7.widget.RecyclerView)1 AccountAdapter (com.keylesspalace.tusky.adapter.AccountAdapter)1 Account (com.keylesspalace.tusky.entity.Account)1 EndlessOnScrollListener (com.keylesspalace.tusky.view.EndlessOnScrollListener)1