<Why do I get IllegalStateException with FocusRequ...
# stackoverflow
r
Why do I get IllegalStateException with FocusRequester not being initialized in my Dialog on TV android app? So I have an app for both mobile and TV and on firebase I got error on crashlytics - Fatal Exception: java.lang.IllegalStateException FocusRequester is not initialized. Here are some possible fixes: 1. Remember the FocusRequester: val focusRequester = remember { FocusRequester() } 2. Did you forget to add a Modifier.focusRequester() ? 3. Are you attempting to request focus during composition? Focus requests should be made in response to some event. Eg Modifier.clickable {...