use of com.frostwire.android.gui.fragments.TransfersFragment in project frostwire by frostwire.
the class MainController method showTransfers.
public void showTransfers(TransferStatus status) {
if (!Ref.alive(activityRef)) {
return;
}
MainActivity activity = activityRef.get();
if (!(activity.getCurrentFragment() instanceof TransfersFragment)) {
activity.runOnUiThread(() -> {
TransfersFragment fragment = (TransfersFragment) activity.getFragmentByNavMenuId(R.id.menu_main_transfers);
fragment.selectStatusTab(status);
switchFragment(R.id.menu_main_transfers);
});
}
}
Aggregations