I
I
Ivan2018-11-30 14:38:09
Android
Ivan, 2018-11-30 14:38:09

Focus disappears when the application is idle for more than 15 minutes, how to disable it?

There is an application written for TV. When the application is idle for more than 15 minutes, the focus from the selected element disappears, if you press the remote control left or right, it appears again. The screensaver of the set-top box is set to turn on after an hour, it is turned off in the application itself, what else can I see?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2018-11-30
@bessovesti

The problem was solved by adding the line adapter.setHasStableIds(true), when creating a fragment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question