zhangleiwjd
2017-10-26 07:53更新Fragment中RecyclerView的数据
Fragment的布局只包含了RecyclerView。现在,我可以获得正常的数据,但是需要通过service,获得数据更新后,对recycler中的UI进行更新,比如对textview,进行新的赋值。找了很多办法,都没法更新。请教一下,有什么样的思路,或者方法可以讲解一下,谢谢!
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- 尝试将JSON数据加载到RecyclerView时,为什么会出现NullPointerException?
- json
- java
- android
- php
- 1个回答
- RecycleView代码不更新!
- android-studio
- android
- 4个回答
- recycview中添加底部按钮问题。
- java
- android-studio
- android
- xml
- 1个回答
- fragment跳转另一个fragment的问题!
- android-studio
- android
- xml
- 2个回答
- CoordinatorLayout中嵌套NestedScrollView,滑动时出现波动
- appbarlayout
- nestedscrollview
- coordinatorlayout
- 8个回答
换一换