ããã¯éåæå¦çãªã©ã§Fragmentã®æä½ã¿ã¤ãã³ã°ãonSaveInstanceState()ãããå¾ã«ãªã£ã¦ãã¾ã£ãå ´åã«çºçãããã®ã ã onSaveInstanceState()ã§ã¯Fragmentã®ç¶æ ãå«ããç»é¢æ å ±ãä¿åããããããã以éã®ã¿ã¤ãã³ã°ã§Fragmentãæä½ããã¨ãããããªããï¼ã¨ãããã¨ã ãã(å¤å)ã 詳ãããã¨ã¯(解決çã)ä¸è¨ãªã³ã¯ã«è©³ããã¾ã¨ãããã¦ããã®ã§ããã£ããèªãã§æ¬²ããã http://www.androiddesignpatterns.com/2013/08/fragment-transaction-commit-state-loss.html commitAllowingStateLossï¼ FragmentTransaction.commit()ãã代ããã«FragmentTransaction.commitAllowingStat
{{#tags}}- {{label}}
{{/tags}}