This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout....); | |
if (savedInstanceState != null) { | |
mBaseEntity = savedInstanceState.getParcelable(KEY_BASE_ENTITY); | |
mChildEntity = savedInstanceState.getParcelable(KEY_CHILD_ENTITY); | |
Log.i(TAG, "restore from state: " + mBaseEntity); | |
Log.i(TAG, "restore from state: " + mChildEntity); |
Как убедиться что стало лучше?
Используй Performance testing plugin.
Опиши сценарий и проверяй на нем.
Проверь версию AS
Android Studio | Check for updates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# | |
# THIS IS AN EXAMPLE. USE IT ON YOUR OWN RISK ! | |
# | |
import argparse | |
import glob | |
import os | |
import shutil |