PageLayoutDemo icon indicating copy to clipboard operation
PageLayoutDemo copied to clipboard

🥭一款简单的page切换 空布局、错误布局、加载布局,支持一键配置、定义,不需要xml编写

Results 4 PageLayoutDemo issues
Sort by recently updated
recently updated
newest added

页面整体上是vp+vp+fragment的形式,当二级vp切换时,二级vp里的frgament只有第一个会显示内容 ![{54DB3ED8-72FA-4742-A0CA-B154653B12D5}_20191009151755](https://user-images.githubusercontent.com/22213821/66459726-2b196280-eaa8-11e9-8b2a-6feef9c12a44.jpg) 二级vp里的fragment是同一个类,只是数据源不同 ``` mPageLayout = PageLayout.Builder(requireContext()).initPage(nestedScrollView) .setOnRetryListener(object : PageLayout.OnRetryClickListener { override fun onRetry() { getData() } }) .create() ``` 这里的nestedScrollView是用kotlin-android-extensions插件生成的,不知道是否有影响

``` ``` 如果我的fragment是这个布局,然后我调用的initPage(refresh_layout),后面hide之后,我的recyclerview就显示不出来了

大佬,fragment无法显示 怎么解决?