Update
This commit is contained in:
1 parent
52e76c22cb
commit
852db378b0
23 files changed
+1064
-30
No files matched your search
@@ -15,6 +15,7 @@
|
||||
|
||||
package com.hippo.scene;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import android.support.v4.app.FragmentManager;
|
||||
@@ -128,6 +129,10 @@ public abstract class Scene {
|
||||
}
|
||||
}
|
||||
|
||||
public void startActivityForResult(Intent intent, ActivityResultListener listener) {
|
||||
mStageActivity.startActivityForResult(intent, listener);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the FragmentManager for interacting with fragments associated
|
||||
* with StageActivity.
|
||||
@@ -135,4 +140,8 @@ public abstract class Scene {
|
||||
public FragmentManager getSupportFragmentManager() {
|
||||
return mStageActivity.getSupportFragmentManager();
|
||||
}
|
||||
|
||||
public interface ActivityResultListener {
|
||||
public void onGetResult(int resultCode, Intent data);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user