LayoutInflater inflater = (LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE); View view = inflater.inflate(R.layout.fragment_recommend_container, null , false); RecomRvdongtai= (RecyclerView)view.findViewById(R.id.RecomRvdongtai);
父布局用子布局里面的控件
最新推荐文章于 2023-05-14 19:58:18 发布