summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2015-06-17 16:41:56 -0700
committerAdam Powell <adamp@google.com>2015-06-18 10:19:18 -0700
commit6690d018b9c08757d20182170948a3cba961e84c (patch)
treee21ac7afa4f5ad3ae36c5cd93cbbd32ff1edff58 /api/current.txt
parent40359f73b189fc8547dd91e6b75a4243b23553ef (diff)
downloadframeworks_base-6690d018b9c08757d20182170948a3cba961e84c.zip
frameworks_base-6690d018b9c08757d20182170948a3cba961e84c.tar.gz
frameworks_base-6690d018b9c08757d20182170948a3cba961e84c.tar.bz2
Un-hide ViewGroup#onViewAdded/onViewRemoved
These methods are generally useful for writing custom views, and by exposing them we make it easier for custom view authors to still allow app developers to use an OnHierarchyChangedListener since it will not be occupied by a custom view's implementation. Also move the actual dispatch to package-scoped dispatch methods so that a developer forgetting to call super won't stop a listener from functioning. Bug 21866523 Change-Id: Ie2bb5e241d7c5a02a5033f33ecdaeb40aceb20b5
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index b72730a..27abd24 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -36817,6 +36817,8 @@ package android.view {
method public boolean onRequestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent);
method public boolean onStartNestedScroll(android.view.View, android.view.View, int);
method public void onStopNestedScroll(android.view.View);
+ method public void onViewAdded(android.view.View);
+ method public void onViewRemoved(android.view.View);
method public void recomputeViewAttributes(android.view.View);
method public void removeAllViews();
method public void removeAllViewsInLayout();