반응형
[android] Activity Configuration Change Simulation. |
https://developer.android.com/reference/android/app/Activity.html#recreate%28%29
Activity 의 recreate() 함수를 호출하면 된다.
public void recreate ()
Added in API level 11
Cause this Activity to be recreated with a new instance. This results in essentially the same flow as when the Activity is created due to a configuration change -- the current instance will go through its lifecycle to onDestroy()
and a new instance then created after it.
반응형
'프로그래밍 놀이터 > 안드로이드, Java' 카테고리의 다른 글
[android] Serialization 을 사용할 때 다음의 예외를 고려하자. (0) | 2015.12.17 |
---|---|
[android] intent data filter - android:ssp xml attribute. (0) | 2015.12.16 |
[android] Useful ADB commands (0) | 2015.12.12 |
[Android] App Performance Tuning Video (0) | 2015.12.11 |
[android] VideoView 를 사용하는 경우 progress hide timing. (0) | 2015.12.10 |
댓글