android - recyclerview中头部问题
ringa_lee
ringa_lee 2017-04-17 17:29:04
0
2
510

recyclerview中添加不同的item布局,我想让其中的一种item布局变为header,会有很多的header,往上滑动下面的header就会顶掉上面的那个, StickHeaderItemDecoration 那个gradle 编不出来

ringa_lee
ringa_lee

ringa_lee

reply all(2)
大家讲道理

If it’s not too troublesome, you can write a relatively simple implementation yourself. You can also monitor the sliding of recyvlerview and then show and hide a view

PHPzhong

You can use Xrecyclerview itself to support adding header layout.
XRecyclerView

An implementation of pullrefresh RecyclerView, loadingmore and header city. Features You can use it like a standard RecyclerView. You don't need to implement a special adapter.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template