You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method startTaskForPeriodicallyUpdatingRelativeTime() is called both in onAttachedToWindow() and in onVisibilityChanged(). This could result in the Runnable being scheduled twice.
This is because the first time the RelativeTimeTextView is added to its parent, both onAttachedToWindow() and onVisibilityChanged() are called (the latter is called for the parent Window).
The text was updated successfully, but these errors were encountered:
The method
startTaskForPeriodicallyUpdatingRelativeTime()
is called both inonAttachedToWindow()
and inonVisibilityChanged()
. This could result in theRunnable
being scheduled twice.This is because the first time the
RelativeTimeTextView
is added to its parent, bothonAttachedToWindow()
andonVisibilityChanged()
are called (the latter is called for the parent Window).The text was updated successfully, but these errors were encountered: