Add top activity and top scene for Crash

This commit is contained in:
seven332 committed 2016-03-19 01:09:37 +08:00
1 parent ff8bf2be64
commit 5325c0c4f7
9 files changed
+109 -9

No files matched your search

@@ -23,8 +23,8 @@ import com.hippo.yorozuya.IntIdGenerator;
public class SceneApplication extends Application {
private IntIdGenerator mIdGenerator = new IntIdGenerator();
private SparseArray<StageActivity> mStageMap = new SparseArray<>();
private final IntIdGenerator mIdGenerator = new IntIdGenerator();
private final SparseArray<StageActivity> mStageMap = new SparseArray<>();
void registerStageActivity(StageActivity stage) {
int id = mIdGenerator.nextId();