Note that there are some explanatory texts on larger screens.

plurals
  1. USScott Merritt
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COIt's true, it's not the best way. See the note here http://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange and save and restore the state yourself . Most of the time, you'll want to do what they explain at the top of that page: "To properly handle a restart, it is important that your activity restores its previous state through the normal Activity lifecycle, in which Android calls onSaveInstanceState() before it destroys your activity so that you can save data about the application state. You can then restore the state during onCreate() or onRestoreI..."
      singulars
    2. COThis is sort of what I've hacked together to get things done, but I find it quite painful. I ended up writing a parent activity class that will create the dialogs for you, hold the message through an orientation change and recreate the dialogs too. Unfortunately, this still feels like something we all shouldn't have to do in our apps. Actually, it seems like a lot of people just don't bother with it and the dialogs disappear after an orientation change. Then again, I have notice the apps from Google handle the orientation change and the dialogs don't disappear. This changed in API Lev 8?
      singulars
    3. COI have the clicking working OK, it's the focusing that's the problem I need help with. When it's focused, there's no indication of which image has the focus. You can't tell, because the UI doesn't change. I could setOnFocusListener, but any suggestions on how to draw an orange box around my image?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload