M
M
Maxim Aron2016-12-07 18:45:54
Android
Maxim Aron, 2016-12-07 18:45:54

How to check if text has been output?

For example, I have an application that daily outputs a random phrase from those contained in string.xml, how can I programmatically check whether this phrase has already been displayed or not so that the same phrase is not displayed several times

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2016-12-07
@Smiled

There is no way to check in such a setting. Save somewhere what phrases have already been displayed. For example, in a db.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question