How to prevent custom dialog from reappearing once it's dismissed by a timer?
I have a dialog that I want to appear only when the user clicks on a button. This button is only visible depending on the online status of a particular user (so when the particular user is online, a button appears which allows other users to contact the person).
if (user.getOnlineStatus() == online)
{
mViewHolder.sendMessage.visibility = View.VISIBLE
}
The dialog then disappears after 60 seconds. Now here's the problem - after the dialog disappears it reappears whenever that...