| | |
| | | @Override |
| | | public void onCreateView(View contentView, Bundle savedInstanceState) { |
| | | Bundle bundle = getArguments(); |
| | | id = bundle.getString("id"); |
| | | rl_specific_detail = contentView.findViewById(R.id.rl_specific_detail); |
| | | if (bundle != null) |
| | | id = bundle.getString("id"); |
| | | rl_specific_detail = contentView.findViewById(R.id.rl_specific_detail); |
| | | rv_specific_detail = contentView |
| | | .findViewById(R.id.rv_specific_detail); |
| | | |
| | |
| | | specifi_detail_top = LayoutInflater.from(rv_specific_detail.getContext()).inflate( |
| | | R.layout.specific_detail_top, null); |
| | | |
| | | specific_detail_banner = specifi_detail_top |
| | | specific_detail_banner = specifi_detail_top |
| | | .findViewById(R.id.specific_detail_banner); |
| | | specific_detail_name = specifi_detail_top |
| | | specific_detail_name = specifi_detail_top |
| | | .findViewById(R.id.specific_detail_name); |
| | | specific_detail_introduction = specifi_detail_top |
| | | specific_detail_introduction = specifi_detail_top |
| | | .findViewById(R.id.specific_detail_introduction); |
| | | |
| | | mVideoInfos = new ArrayList<>(); |
| | | mSpecificMovieAdapter = new VideoCloumn1Adapter(getActivity(), mVideoInfos,"special"); |
| | | mSpecificMovieAdapter = new VideoCloumn1Adapter(getActivity(), mVideoInfos, "special"); |
| | | mSpecificMovieAdapter.setHeaderView(specifi_detail_top); |
| | | rl_specific_detail.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { |
| | | @Override |