diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-04-02 18:25:35 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-04-02 18:43:31 -0700 |
commit | 5688b03f7f4fafd671451ff73103be0f2388b32e (patch) | |
tree | 03f3362f7919592e14f2bd56957fc4c722397e26 /api/system-current.txt | |
parent | 3425dae8dc63372e8944dce43f7ed2d567512248 (diff) | |
download | frameworks_base-5688b03f7f4fafd671451ff73103be0f2388b32e.zip frameworks_base-5688b03f7f4fafd671451ff73103be0f2388b32e.tar.gz frameworks_base-5688b03f7f4fafd671451ff73103be0f2388b32e.tar.bz2 |
Add quick and dirty async AssistStructure building.
New APIs on ViewAssistStructure all the app to request to
build a sub-tree asynchronously and indicate when it is done
with that. The overall AssistStructure is now only flattened
and transfered on-demand, when the app receiving it requests
its data -- and at that point we can wait for any asynchronous
building to complete.
New AsyncStructure view is a very simple example of using this
to asynchronously build a child view.
Change-Id: I14f9199bee64915ad3dc80b2190916ec874308af
Diffstat (limited to 'api/system-current.txt')
-rw-r--r-- | api/system-current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 40accaa..23a1f6a 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -37777,6 +37777,8 @@ package android.view { public abstract class ViewAssistStructure { ctor public ViewAssistStructure(); + method public abstract void asyncCommit(); + method public abstract android.view.ViewAssistStructure asyncNewChild(int); method public abstract void clearExtras(); method public abstract android.os.Bundle editExtras(); method public abstract int getChildCount(); |