Thursday 30 March 2017

TimeoutSensor

A simple timeout sensor that detects if there hasn't been any user interaction for a specified amount of time. If the timer runs up without interaction, a dialog will popup giving them another 30 seconds to 'stay logged in' otherwise the app will kill itself.



from The Android Arsenal

No comments:

Post a Comment