My Android app has a TextView
telling the user the data age ("13 minute ago"). I currently update this every second using a Runnable
to catch when the minute changes with a notifyDataSetChanged()
to my adapter. But this is causing garbage collection every second...
Is there another method to trigger a TextView
update (or take general action) when the system clock changes minute without checking every second for such a change?