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"
相關文章
相關標籤/搜索