摘要:
使用 onRetainNonConfigurationInstance(),实现快速旋转例子如下:public class ACompatibilityActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); if(getLastNonCon... 阅读全文