腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(155)
视频
沙龙
2
回答
具有空SwipeRefreshLayout和TextView的RecyclerView
android
、
fragment
、
android-recyclerview
、
swiperefreshlayout
private RVAdapter adapter; private SwipeRefreshLayout
refreshLayout
getActivity(), rv.setAdapter(adapter); // Obtener el
refreshLayout
refreshLayout
= (SwipeRefreshLa
浏览 4
提问于2016-08-25
得票数 3
回答已采纳
1
回答
带有SwipeRefreshLayout的RecyclerView不能一致工作
android
、
android-layout
、
android-recyclerview
int firstPos = mLinearLayoutManager.findFirstCompletelyVisibleItemPosition(); if (firstPos > 0) { } else {
浏览 2
提问于2015-11-03
得票数 2
1
回答
在Webview上拉入以刷新以更新内容
java
、
android-studio
、
webview
、
swiperefreshlayout
、
pull-to-refresh
implements SwipeRefreshLayout.OnRefreshListener{private SwipeRefreshLayout
refreshLayout
WebSettings webSettings=mywebView.getSettings();
refreshLayout
= (SwipeRefreshLayout) findViewById(R.id.swiperefresh);
浏览 36
提问于2021-03-27
得票数 1
回答已采纳
1
回答
拉到刷新(SwipeRefreshLayout) android xamarin c#
c#
、
android
、
visual-studio
、
xamarin
、
xamarin.android
SwipeRefreshLayout
refreshLayout
{ void
RefreshLayo
浏览 1
提问于2018-09-13
得票数 1
回答已采纳
1
回答
Android -向下滚动时的WebView刷新
java
、
android
、
android-activity
、
android-webview
、
swiperefreshlayout
toolbar; private WebSettings webSettings; browser.clearCache(true);
refreshLayout</e
浏览 0
提问于2019-08-13
得票数 0
回答已采纳
1
回答
数据仅在单步执行时正确更新
android
、
json
、
api
、
android-asynctask
、
android-recyclerview
arrMessageData; //= new ArrayList<MessageData>();
refreshLayout
= (SwipeRefreshLayout) rootView.findViewById(R.id.swipeRefre
浏览 0
提问于2017-02-23
得票数 0
1
回答
Android共享元素片段转换:返回转换不起作用
android
、
android-fragments
、
shared-element-transition
在我的项目中,我使用RecyclerView显示带有缩略图的项目列表。当用户单击某一项时,将打开DetailView,其中图像显示在顶部。我试图在这些片段之间共享一些元素,但是转换只在输入详细片段时才能工作,而不是在从其中返回时才能工作。@Override viewHolder.image.setTag
浏览 0
提问于2017-04-03
得票数 4
回答已采纳
1
回答
混淆Fi还原NullPointerException或android.view.View android.view.View.findViewById(int)空对象引用
android
、
nullpointerexception
、
google-cloud-firestore
Objects.requireNonNull( getView() ).findViewById(R.id.default_item).setVisibility(View.GONE); adapter.notifyDataSetChanged();
refreshLayout
.setRefreshingprivate TextView et0,et1,et2,e
浏览 5
提问于2019-11-19
得票数 0
回答已采纳
1
回答
RecyclerView nullpointException
android
、
android-fragments
、
android-recyclerview
private RecyclerView post;private SwipeRefreshLayout
refreshLayout
post.setLayoutManager(mLayoutManager);
refreshLayout
= (SwipeRefreshLayout) getActivity().findViewById(R.id.swipe_la
浏览 3
提问于2015-03-27
得票数 0
回答已采纳
1
回答
删除隐藏控件
c#
、
winforms
在运行时,我必须决定是否显示一组控件。我正在处理这个表格:正如注释中所建议的,我尝试在面板中使用FlowLayoutPanel。一个面板用于CheckedBoxList,一个面板为每对(标签,组合框),因为我想保持标签和ComboBoxes在同一行。
浏览 4
提问于2017-02-06
得票数 0
回答已采纳
2
回答
不允许在主线程外部调用SetRefreshing(false)。解决办法?
java
、
android
、
multithreading
、
android-layout
instead of my actual context listView.setAdapter(new CategoryListAdapter(Cate
浏览 3
提问于2017-05-15
得票数 0
回答已采纳
3
回答
动态添加按钮后从另一个窗体更新winform c#
c#
、
winforms
下面是我的UpdateLayout表单代码:{ { { }{{
浏览 2
提问于2016-10-12
得票数 0
6
回答
在Android2.2中随时随地使用RecyclerView刷新滚动SwipeRefreshLayout
android
、
android-recyclerview
、
swiperefreshlayout
我对我的布局有问题,我在里面用RecyclerView创建了SwipeRefreshLayout。在android 4.2.2+中,一切运行良好,但在android 2.3.4中,我无法向上滚动,因为在RecyclerView中的任何地方,它都会刷新,我必须向下滚动,然后向上滚动。<android.support.v4.widget.SwipeRefreshLayout android:id="@+
浏览 0
提问于2014-12-25
得票数 10
1
回答
我可以在同一个片段上使用进度条和滑动刷新吗?
android
、
swiperefreshlayout
Progressbar,progressbar在从web加载数据时首次使用。在我添加卷帘刷新布局之前,进度条还不错。添加卷帘刷新布局后,进度条不起作用。可以同时使用这两种方法吗?
浏览 1
提问于2016-04-08
得票数 0
1
回答
安道尔应用程序无法自动定位
java
、
android
、
android-studio
setContentView(R.layout.activity_main);
refreshLayout
= findViewById(R.id.refresh);
浏览 1
提问于2021-01-25
得票数 0
2
回答
Android测试SwipeRefreshLayout OnRefresh未在swipeDown上触发
android
、
integration-testing
、
android-espresso
、
robolectric
、
swiperefreshlayout
XML布局部分 android:id="@+id/
refreshLayout
androidx.recyclerview.widget.LinearLayoutManager"/>碎片部分 binding.
refreshLayout
.setOnRef
浏览 0
提问于2019-04-04
得票数 5
1
回答
请帮我找出这段代码中的错误。
java
、
android
、
kotlin
= null listView = findViewById<View>(R.id.listView) as ListView cardCount = findViewById(R.id.card_count) list.addadapt
浏览 4
提问于2022-06-21
得票数 -4
回答已采纳
2
回答
Android/Kotlin -关闭后恢复应用程序时老活动
android
、
kotlin
、
kotlin-android-extensions
MainActivity : AppCompatActivity(), DataSyncListener { runOnUiThread { } runOnUiThread {}
浏览 0
提问于2018-02-28
得票数 0
回答已采纳
1
回答
如何为片段使用接口?
java
、
android
这是用于接口的my类: void updateUI(boolean isCatch); public static void getRefreshAlarm(ContextAppCompatActivity implements View.OnClickListener, AllAsycnTask.Altın
浏览 1
提问于2018-02-02
得票数 0
回答已采纳
1
回答
如何实现从firestore到firebase实时数据库的转换
android
、
firebase-realtime-database
、
google-cloud-firestore
usersAdapter.notifyDataSetChanged();
refreshLayout
.setRefreshingsetVisibility(View.VISIBLE);
浏览 2
提问于2019-05-26
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券