Recyclerview suspension ceiling effect in Android
•
Android
Multitype adapter creates suspended ceiling effect
Note: the current version is only suitable for quickly creating a floating ceiling effect of display UI with recyclerview, such as address book effect. Due to the implementation mechanism, touch events are not supported temporarily.
Multitype adapter introduction address: multitype adapter
It is a lightweight recyclerview adapter supporting multiple data types; Simple to use and completely decoupled;
Suspended ceiling effect
use
1. Customize a stickyadapter
Here you can set the header layout and the location of the header
2. Set in activity
Code portal: poke me!
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码