Add feature to mark messages as read when the user is active and the message has been visible for X seconds
User is active - suggest we have something in AppState that records the time of last interaction and define a period of activity that lasts from that time for X seconds, after which the User is Inactive.
Messages are visible when the message item is in the viewable area of the screen and not visible when they scroll out of the visable area.
To be marked as read automatically, a message must be visible for a continuous period, not cumulative.
Add feature to mark messages as read when the user is active and the message has been visible for X seconds
User is active - suggest we have something in AppState that records the time of last interaction and define a period of activity that lasts from that time for X seconds, after which the User is Inactive.
Messages are visible when the message item is in the viewable area of the screen and not visible when they scroll out of the visable area.
To be marked as read automatically, a message must be visible for a continuous period, not cumulative.