Android get date on listview like whatsApp does
I need to create ListView
with elements that constantly go like in WhatsApp
.
I want to display ListView
with Date as SectionHeader.
I am using ListView
from a SQLite database using a custom adapter.
Now I need to display the date of conversions like the date in WhatsAPP
I found 1 link that looks like some kind of helpful, but I don't understand how to make this possible with a date?
Please help me to solve this problem.
source to share
Use any view of the list of folder headers.
For reference, you can use this one.
https://github.com/emilsjolander/StickyListHeaders .
and you can customize the section title header view as your desire even if whatsapp contains date or any other way you want.
If this helps you, check my en. how up.
source to share