Comments (5)
支持外部嵌套SmartRefreshLayout
from consecutivescroller.
@donkingliang 我这边发现上拉加载不起作用呢 ,下拉刷新是没问题的
from consecutivescroller.
@donkingliang
`<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:srlEnablePreviewInEditMode="true">
<com.donkingliang.consecutivescroller.ConsecutiveScrollerLayout
android:id="@+id/scrollerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:overScrollMode="never"
android:scrollbars="none">
<View
style="@style/StyleDividerThinTheme"
android:layout_height="13dp"
android:background="@color/transparent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/tv_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp12"
android:layout_marginEnd="@dimen/dp12"
android:text="时间"
android:textColor="#ff999999"
android:textSize="12sp" />
<View
style="@style/StyleDividerThinTheme"
android:layout_height="13dp"
android:background="@color/transparent" />
<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp12"
android:layout_marginEnd="@dimen/dp12"
android:text="标题"
android:textColor="#ff333333"
android:textSize="24sp" />
</LinearLayout>
<View
style="@style/StyleDividerThinTheme"
android:layout_height="13dp"
android:background="@color/transparent" />
<com.mxcj.articles.widget.MyRelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/dp12"
android:layout_marginEnd="@dimen/dp12"
android:overScrollMode="never"
android:scrollbars="none" />
</com.mxcj.articles.widget.MyRelativeLayout>
<View
style="@style/StyleDividerThinTheme"
android:layout_height="5dp"
android:background="#eee" />
<View
style="@style/StyleDividerThinTheme"
android:layout_height="14dp"
android:background="@color/transparent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp12"
android:layout_marginEnd="@dimen/dp12"
android:text="相关阅读"
android:textColor="#ff333333"
android:textSize="16sp" />
</LinearLayout>
<View
style="@style/StyleDividerThinTheme"
android:layout_height="2dp"
android:background="@color/transparent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerview_recommend"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never" />
<View
style="@style/StyleDividerThinTheme"
android:layout_height="5dp"
android:background="#eee" />
<View
style="@style/StyleDividerThinTheme"
android:layout_height="14dp"
android:background="@color/transparent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp12"
android:layout_marginEnd="@dimen/dp12"
android:text="评论区"
android:textColor="#ff333333"
android:textSize="16sp" />
</LinearLayout>
<View
style="@style/StyleDividerThinTheme"
android:layout_height="2dp"
android:background="@color/transparent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerview_comment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never" />
</com.donkingliang.consecutivescroller.ConsecutiveScrollerLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>`
from consecutivescroller.
你的SmartRefreshLayout设置了上拉加载了吗。SmartRefreshLayout默认是不开启上拉加载的哦
from consecutivescroller.
@donkingliang 我找到问题了 ,是因为我这边设置了不满一屏不开启上拉 ,应该没什么问题了
from consecutivescroller.
Related Issues (20)
- ConsecutiveScroller下的recyclyview无法滚动到recyclyview数据的第一个 HOT 8
- 关于吸顶效果设置后无效的问题 HOT 1
- 初始化的时候RV的复用机制会失效 HOT 4
- 显示异常
- isTouchNotTriggerScrollStick 时序问题
- 希望可以记录滚动位置 HOT 3
- app:autoAdjustHeightAtBottomView="true"这个属性针对ConsecutiveScroller.childAt(lastIndex)还是使用当前所在滑动窗口的最后一个View? HOT 8
- 针对ConsecutiveViewPager的源码问题 HOT 1
- 和flowlayout不适配,会有stiky失效和滑动抖动问题 HOT 1
- java.lang.IllegalArgumentException: invalid pointerIndex -1 for MotionEvent
- 请问跟SmartRefreshLayout、viewpager嵌套后怎么实现recycleview的预加载呢
- 给星点赞,并且说一句牛逼!
- webview有自动加载更多时,无法触发加载更多 HOT 1
- 线上异常
- ConsecutiveScrollerLayout嵌套ConsecutiveViewPager2嵌套ConsecutiveScrollerLayout 后吸顶会失效 HOT 1
- 偶现越界回弹动画与连续惯性滑动冲突
- ConsecutiveScrollerLayout 包子類別 ConsecutiveScrollerLayout,滑動會不順暢 HOT 2
- ConsecutiveViewPager2 裡放 StaggeredGridLayoutManager RecyclerView,切換 ConsecutiveViewPager2 會閃退 HOT 5
- CoordinatorLayout 內嵌 ConsecutiveScrollerLayout,滑動會不順 HOT 2
- webview弹窗问题 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 consecutivescroller.