Multiple YouTubePlayerFragments inside a Horizontal ScrollView - all the players display the last loaded video
问题 I want to show multiple YouTube videos in a Horizontal ScrollView . For that, I'm adding YouTubePlayerFragments dynamically. Here's the piece of my code: //set videos int count = 0; FragmentTransaction transaction = getChildFragmentManager().beginTransaction(); for (final Video video : mVideos) { //create an instance of a video fragment final VideoFragment fragment = new VideoFragment();// VideoFragment extends YouTubePlayerFragment Bundle bundle = new Bundle(); if (null != mVideos && 0 <