This commit is contained in:
jinyuer
2020-09-04 16:28:12 +08:00
parent ca565aafc6
commit 08e216bb0a
9 changed files with 566 additions and 50 deletions

View File

@@ -43,11 +43,16 @@
android:layout_weight="1"
android:background="@color/white"
app:srlEnableLoadMore="true"
app:srlEnableLoadMoreWhenContentNotFull="true">
app:srlDisableContentWhenLoading="true">
<com.scwang.smartrefresh.layout.header.ClassicsHeader
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<android.support.v7.widget.RecyclerView
android:id="@+id/rec"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>