Open podcast fragment as child

This commit is contained in:
Martin Fietz 2016-03-28 15:17:27 +02:00
parent 82f73a0af8
commit 2d95d3f1f7
1 changed files with 2 additions and 1 deletions

View File

@ -465,7 +465,8 @@ public class ItemFragment extends Fragment {
}
private void openPodcast() {
((MainActivity)getActivity()).loadFeedFragmentById(item.getFeedId(), null);
Fragment fragment = ItemlistFragment.newInstance(item.getFeedId());
((MainActivity)getActivity()).loadChildFragment(fragment);
}
public void onEventMainThread(QueueEvent event) {