初始化中视图中,这样写RecyclerView View view = View.inflate(myContext,R.layout.fragment_home,null); rvHome = (RecyclerView)view.findViewById(R.id.rv_home);
android.widget.RelativeLayout cannot be cast to android.support.v7.widget.RecyclerView
最新推荐文章于 2023-10-13 17:52:56 发布