Comments (2)
是什么场景?把刷新控件放在内容视图里可行不?类似于这个
from multiplestatusview.
描述起来有点难……简单地说,就是在显示空视图时也可以下拉刷新,所以MultipleStatusView必须放在上拉加载和下拉刷新框架的里面(我用的是SmartRefreshLayout),这样MultipleStatusView的所有视图都可以触发上拉加载和下拉刷新,但是loading视图显然不能再上拉和下拉了,这时应该禁止页面的任何操作。不过我目前通过其他方式实现了:就是loading时页面肯定是没有数据的,数据为空我就把上拉和下拉禁掉。你看看能不能实现,如果实在太麻烦就把这issue关掉吧。
from multiplestatusview.
Related Issues (20)
- java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup)' on a null object reference HOT 1
- 这个地方,这样写是不是有点不合适,如果多次showempty 是不是会导致解析xml布局文件多次 HOT 2
- 能动态给视图添加内容吗
- 视图全局配置 HOT 5
- 布局创建的布局越来越多,有什么好的解决方式吗? HOT 2
- 同一个页面中多次使用会互相干扰 HOT 2
- 第一子控件无法隐藏 HOT 4
- 建议修改STATUS_CONTENT的值,或者设置mViewStatus的值为-1 HOT 1
- 建议添加视图状态改变监听事件 HOT 5
- 显示内容视图,存在bug HOT 1
- 可以使用databinding吗
- 显示视图有BUG HOT 10
- 感谢!
- 能不能做到在同一个视图动态设置提示文案 HOT 1
- 视图状态切换,处于重叠状态 HOT 2
- 支持四个参数的构造方法
- 然后在fragment应用 外层是viewpager+tablayout 滑动几次就会空白 HOT 2
- 更解耦的方式
- 自定义提示内容类型如果支持CharSequence就好了, 现在想要设置带多色彩文字好麻烦. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multiplestatusview.