Android给RecyclerView添加头(Header)和尾(Footer)和分标题(Title)——最简单的两种方法

给RecyclerView添加头和尾的方法很多,这里写两种最简单的方法。 1.控制布局 显隐 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
相关文章
相关标签/搜索