I have an ArrayAdapter
which is hooked up to my ListView
. I really like the "separators" feature in the Evernote Android application, where they separate items using a datestamp:
I assume what they're doing is having a view immediately above the list which is set to the value of the current separator, as you can see in the screenshots. (As you scroll past a separator, the text at the top is set to the value of the current separator, ie "January 2011") How would I actually insert the separators into my ListView
?