State Config
            object StateConfig
Content copied to clipboard
全局的缺省页布局StateLayout配置
Functions
setRetryIds
                          
                    Link copied to clipboard
                        全局的重试IdRes 会为所有StateLayout.emptyLayout/StateLayout.errorLayout中的指定Id的视图对象添加一个点击事件 该点击事件会触发StateLayout.showLoading和StateLayout.onRefresh函数 点击500ms内防抖动
Properties
emptyLayout
                          
                    Link copied to clipboard
                        空页布局的layoutRes, 如果StateLayout.emptyLayout设置则该属性无效
errorLayout
                          
                    Link copied to clipboard
                        错误页布局的layoutRes, 如果StateLayout.errorLayout设置则该属性无效
loadingLayout
                          
                    Link copied to clipboard
                        加载页布局的layoutRes, 如果StateLayout.loadingLayout设置则该属性无效
stateChangedHandler
                          
                    
                  Link copied to clipboard