摘要: 这个问题是变通了一下,原来是: 阅读全文
posted @ 2018-09-21 17:55 hoge 阅读(750) 评论(0) 推荐(0) 编辑
摘要: Re-download dependencies and sync project (requires network) 其实就是修改gradle 的path 路径: 阅读全文
posted @ 2018-09-21 14:42 hoge 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 在把RecyclerView和Fragment合并使用时,没有任何数据显示在RecyclerView上。挨个查看log输出,发现是Adapter未调用onCreateViewHolder和onBindViewHolder方法,查找半天发现是getItemCount方法定义有误,该方法必须返回大于0的 阅读全文
posted @ 2018-09-21 13:01 hoge 阅读(7089) 评论(0) 推荐(1) 编辑