腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Android
SwipeRefreshLayout
返回
null
java
、
android
、
swiperefreshlayout
我想使用
SwipeRefreshLayout
替换数据,但当我这样做时 mSwipeRefreshLayout = (
SwipeRefreshLayout
)findViewById(R.id.refresh); mSwipeRefreshLayout为
null
。
android
:layout_width="match_parent"
android
浏览 29
提问于2020-10-07
得票数 0
回答已采纳
12
回答
向上滚动不适用于列表视图中的
SwipeRefreshLayout
java
、
android
、
swiperefreshlayout
<
android
.support.v4.widget.
SwipeRefreshLayout
xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
android
:id=&qu
浏览 4
提问于2014-08-13
得票数 39
3
回答
仅在列表视图顶部刷新屏幕(
Android
)
android
、
listview
、
android-studio
、
swiperefreshlayout
我有这个
SwipeRefreshLayout
XML代码: xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
浏览 0
提问于2018-02-04
得票数 1
3
回答
在实现刷刷新布局时,我会收到此错误。
android
、
listview
我的错误越来越少
swipeRefreshLayout
.setOnRefreshListener=
null
) {
浏览 6
提问于2016-11-06
得票数 0
回答已采纳
2
回答
如何在RecyclerView中添加刷新卷帘
android
top&apiKey="+API_KEY; int position = getAdapterPosition(); <RelativeLayout xmlns:
android
="http:/&
浏览 7
提问于2018-11-25
得票数 1
2
回答
SwipeRefreshLayout
中的RecyclerView不是"wrap_content“
android
、
android-recyclerview
、
swiperefreshlayout
、
android-wrap-content
我有一个RecyclerView作为
SwipeRefreshLayout
的独生子,我想要RecyclerView wrap_content。当我删除
SwipeRefreshLayout
时,RecyclerView将wrap_content。有谁可以帮我?我的英语不好,也许你听不懂。有人能帮我吗?非常感谢。<LinearLayout xmlns:
android
="http://schemas.
android
.com/apk/res/<em
浏览 9
提问于2016-12-03
得票数 13
3
回答
在API 21上在
android
上进行回收站刷新
android
、
android-recyclerview
、
refresh
、
android-support-library
、
swipe
我希望“刷新内容的滑动”功能在回收器视图(类似于
SwipeRefreshLayout
)。当使用API 21时,是否可以这样做?
浏览 6
提问于2017-09-30
得票数 1
回答已采纳
1
回答
如何在安卓系统中使用不含PullToRefresh的RecyclerView
android
、
android-recyclerview
、
android-scrollview
我想使用PullToRefresh,但是在我的应用程序中我不使用recyclerview,并且使用这个小部件:
android
.support.v4.widget.NestedScrollView。我想用
android
.support.v4.widget.NestedScrollView。 我怎么能做到呢?
浏览 2
提问于2017-06-05
得票数 1
4
回答
使用支持库23.2.0的回收器视图和
SwipeRefreshLayout
android
、
android-recyclerview
、
android-support-library
、
swiperefreshlayout
、
android-appbarlayout
有没有人想出一种方法,让recyclerviews,AppbarLayouts和
SwipeRefreshLayout
在23.2中协同工作?我想我使用的是一个非常标准的方法,但是当试图在回收器视图中向上移动时,
swiperefreshlayout
会一直抓住滚动的手势。<
android
.support.design.widget.CoordinatorLayout
android
:<
浏览 0
提问于2016-02-26
得票数 6
1
回答
在Kotlin中无法识别
Android
可空注释
android
、
kotlin
、
annotations
安卓源码提示findViewById可以
返回
null
: @Nullable return
null
; return findViewTraversal(id); } 但是当从Kotlin调用它时,编译器在使用这种方式时不会抱怨可空性: private lateinit var
swipeRefreshLayout
: <
浏览 16
提问于2019-04-26
得票数 0
4
回答
SwipeRefreshLayout
加载程序在卸载
android
时不会上升
android
、
android-recyclerview
、
swiperefreshlayout
我在回收视图中使用了
SwipeRefreshLayout
,它在所有
android
版本中都很好,但在Kitkat,当我拉下
SwipeRefreshLayout
加载器时,它不会上升,也不会刷新回收视图数据,我使用的是'com.
android
.support:support-v4:22.2.1‘
SwipeRefreshLayout
swipe_refresh; swipe_refresh = (
SwipeRefreshLayout
swipe_refresh.setRefre
浏览 3
提问于2016-01-30
得票数 15
4
回答
SwipeRefreshLayout
没有停止刷新
android
在片段的onCreateView方法中: refresh();});public void {public cla
浏览 1
提问于2018-06-22
得票数 5
回答已采纳
1
回答
拉到刷新(
SwipeRefreshLayout
)
android
xamarin c#
c#
、
android
、
visual-studio
、
xamarin
、
xamarin.android
在一开始,axml是: 我添加了
swipeRefreshLayout
,所以: ........
SwipeRefreshLayout
refreshLayout { ....refreshLayout = FindViewById<
SwipeRefreshLayout
> .
浏览 1
提问于2018-09-13
得票数 1
回答已采纳
1
回答
如何从KOTLIN的活动中刷新片段
android
、
android-fragments
、
android-activity
、
refresh
、
onresume
在我的kotlin项目中,我想刷新来自Actvity的片段。当我完成活动时,它应该会刷新片段。我在想,这将在onResume中完成。那么,当我恢复一个活动时,如何刷新当前的片段呢?当我完成活动时,我的片段页面包含了列表视图,因此应该更新它。
浏览 5
提问于2022-07-28
得票数 0
1
回答
如何更新RecyclerView而不重新创建(重新启动)活动。我使用SQLite数据库将数据存储并检索到“回收器”视图
java
、
android
据我所知有两种方法2-覆盖onResume();方法和在onResume();中放置更新方法第一种方法在每次向SQLite数据库添加便条时重新创建活动,第二种方法每次按home按钮时都会更新RecyclerView,尽管没有必要更新,因为在这种情况下数据没有变化。
浏览 1
提问于2022-07-22
得票数 -1
1
回答
如何实现对绑定片段的拉刷新?
java
、
android
、
fragment
、
refresh
} public void onDestroyView() { binding =
null
}); .setNegativeButton("TIDAK",
null
浏览 6
提问于2022-02-26
得票数 2
2
回答
SwipeRefreshLayout
在安卓系统中填充parent
android
、
android-layout
、
swiperefreshlayout
顺便说一下,如果我没有
SwipeRefreshLayout
,而只使用ScrollView,那么就不会出现空格。下面是我的XML代码:感谢您的回答!我还留下了如何使用
SwipeRefreshLa
浏览 0
提问于2016-03-14
得票数 1
1
回答
PullToRefresharp不能在设备上工作
android
、
xamarin
、
pull-to-refresh
<pulltorefresharp.
android
.views.ViewWrapper
android
:layout_width="fill_parent"
android
:layout_height="fill_parent&q
浏览 1
提问于2014-07-18
得票数 1
回答已采纳
2
回答
RecyclerView在notifyDataSetChanged()调用时跳到顶部
android
、
android-layout
、
android-activity
、
android-recyclerview
我有一个片段,其中包含
swipeRefreshLayout
和无穷大recyclerView。="true"
android
:focusableInTouchMode="true"> <androidx.
swiperefreshlayout
.widget.
SwipeRefreshLayout
="match_parent"
浏览 4
提问于2019-12-22
得票数 3
4
回答
如何使用
SwipeRefreshLayout
?
android
、
android-support-library
、
swiperefreshlayout
但我仍然不知道如何使用它,更不用说定制它了<
android
.support.v4.widget.
SwipeRefreshLayout
xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:tools="http://schemas.
android
.com/tool
浏览 0
提问于2014-04-11
得票数 35
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
一行代码搞定SwipeRefreshLayout拦截事件
我的Android开发框架Collection
Kotlin语言入门之-null安全
学会这些就能写Kotlin项目了吧
为什么 HTTP Code 204 会导致 Retrofit 出现 NullPointerException?
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券