android.widget.RelativeLayout cannot be cast to android.support.v7.widget.RecyclerView

初始化中視圖中,這樣寫RecyclerView View view = View.inflate(myContext,R.layout.fragment_home,null); rvHome = (RecyclerView)view.findViewById(R.id.rv_home);
相關文章
相關標籤/搜索