如何在 Android 中制作粘性部分标题(如 iOS)?

问题描述:

我的具体问题是:如何实现这样的效果:http://youtu.be/EJm7subFbQI

My specific question is: How I can achieve an effect like this: http://youtu.be/EJm7subFbQI

反弹效果并不重要,但我需要标题的粘性"效果.我从哪里开始?,我可以以什么为基础?我需要一些可以在 API 8 上实现的东西.

The bounce effect is not important, but i need the "sticky" effect for the headers. Where do I start?, In what can I base me? I need something that I can implement on API 8 to up.

谢谢.

对于这个问题,已经存在一些解决方案.您所描述的是部分标题,并且在 Android 中被称为 sticky 部分标题.

There are a few solutions that already exist for this problem. What you're describing are section headers and have come to be referred to as sticky section headers in Android.