Added comments and improved the code
This commit is contained in:
parent
c1d5a5cd98
commit
6665d630ec
3 changed files with 17 additions and 3 deletions
|
|
@ -392,7 +392,7 @@ public final class NavigationHelper {
|
|||
}
|
||||
|
||||
public static void showMiniPlayer(final FragmentManager fragmentManager) {
|
||||
final VideoDetailFragment instance = VideoDetailFragment.getInstanceCollapsed();
|
||||
final VideoDetailFragment instance = VideoDetailFragment.getInstanceInCollapsedState();
|
||||
defaultTransaction(fragmentManager)
|
||||
.replace(R.id.fragment_player_holder, instance)
|
||||
.runOnCommit(() -> sendPlayerStartedEvent(instance.requireActivity()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue