M
M
Maybe_V2016-04-15 18:30:18
Android
Maybe_V, 2016-04-15 18:30:18

How to implement date change tracking in android?

There are records in the database that should change in the program depending on the current date. That is, change the position in the ExpandableListView depending on what date it is now.

I don't know how to implement date change tracking.

Question:
How can I implement date change tracking in Android?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2016-04-15
@onepavel

and I don’t know how to track it, but let me search for you,
write in Google "android date change listener"
oops, it turns out the broadcast system throws
ACTION_DATE_CHANGED
and there are examples
stackoverflow.com/questions/7912885/action-time-ch...
stackoverflow. com/questions/5481386/date-and-time-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question