recyclerview简单实现

3.在MainActivity里面实例化这个控件 rv = (RecyclerView) findViewById(R.id.rv); 4.接下来设置 线性布局管理器 rv.setLayoutManager(new LinearLayoutManager(this)); 5.写一个假的数据源 List<String> jiadeshujuyuan = new ArrayList<String>(
相关文章
相关标签/搜索