summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-10-26 10:22:16 -0700
committerAdam Powell <adamp@google.com>2011-10-27 15:54:51 -0700
commit635c60af623c73d2409f5729c0953638b5d6c497 (patch)
tree68764f2f1896dfe647f7a19a1bedf0bf55c7a564 /api
parent6e03b22015bd834da1a5755e75d7468e5b3b13c5 (diff)
downloadframeworks_base-635c60af623c73d2409f5729c0953638b5d6c497.zip
frameworks_base-635c60af623c73d2409f5729c0953638b5d6c497.tar.gz
frameworks_base-635c60af623c73d2409f5729c0953638b5d6c497.tar.bz2
Add API for deferring fragment start.
Fragments now have the setDeferStart method to signal that a fragment has lower priority than others. Deferred start fragments will not always be started immediately; they will be started once any loaders have finished servicing any outstanding requests. This is useful if any attached fragments are not immediately visible and can wait to start until later. Disabling deferStart on a fragment that is waiting for a deferred start will start it immediately. Start. Change-Id: Ia1f004877ca5e88d4f10147d21c7e2e97f141c34
Diffstat (limited to 'api')
-rw-r--r--api/current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index b30f7a6..20791e3 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -3245,6 +3245,7 @@ package android.app {
method public final boolean isInLayout();
method public final boolean isRemoving();
method public final boolean isResumed();
+ method public boolean isStartDeferred();
method public final boolean isVisible();
method public void onActivityCreated(android.os.Bundle);
method public void onActivityResult(int, int, android.content.Intent);
@@ -3280,6 +3281,7 @@ package android.app {
method public void setInitialSavedState(android.app.Fragment.SavedState);
method public void setMenuVisibility(boolean);
method public void setRetainInstance(boolean);
+ method public void setStartDeferred(boolean);
method public void setTargetFragment(android.app.Fragment, int);
method public void startActivity(android.content.Intent);
method public void startActivityForResult(android.content.Intent, int);