|
YAACC - UPNP Client and Server
|
When the log viewer may change its text. More...

Static Public Member Functions | |
| static boolean | mayChangeText (long nowMillis, long lastInteractionMillis) |
Static Public Attributes | |
| static final long | IDLE_MILLIS = 1500L |
| How long after the last touch or scroll the view counts as at rest. | |
When the log viewer may change its text.
Reading the log while the user touches or flings the view feeds itself: the scrolling makes the system write lines about the app's own scroll handling, those lines change the text, and the view jumped while the finger was still on it. The text is therefore only changed when the user has not touched or scrolled the view for a moment.
|
static |
| nowMillis | the current time (a monotonic clock) |
| lastInteractionMillis | when the user last touched or scrolled the view, or a negative value if never |