public MovieFragment() {
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
<BUG>View view = inflater.inflate(R.layout.fragment_movie, container, false);
</BUG>
viewPager = (ViewPager) view.findViewById(R.id.fragment_movie_viewpager);
<BUG>viewPager.setAdapter(new MoviePagerAdapter(getFragmentManager()));
</BUG>
tabLayout = (TabLayout) view.findViewById(R.id.fragment_movie_tablayout);

public MovieFragment() {
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
final View view = inflater.inflate(R.layout.fragment_movie, container, false);
viewPager = (ViewPager) view.findViewById(R.id.fragment_movie_viewpager);
viewPager.setAdapter(new MoviePagerAdapter(getChildFragmentManager()));
tabLayout = (TabLayout) view.findViewById(R.id.fragment_movie_tablayout);
