summaryrefslogtreecommitdiff
path: root/core/java/android/widget/AdapterView.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2010-08-25 17:24:53 -0700
committerAdam Cohen <adamcohen@google.com>2010-08-26 15:28:05 -0700
commit1480fddea874a42adb43b4bcdac6704e4c3e110b (patch)
tree87493bd5b35350595bdbab82695650d1d8a684b4 /core/java/android/widget/AdapterView.java
parentdeefe553221faf1ac7077a9854a98f5f5c12f248 (diff)
-> Added the ability to specify an AdapterView's empty view
through RemoteViews. An empty view is the view that appears in lieu of the collection when the collection is empty. -> Made StackViews start at their last item Change-Id: Ica44e5e8f8f2a2e5589a6c74414ec4d08303887f
Diffstat (limited to 'core/java/android/widget/AdapterView.java')
-rw-r--r--core/java/android/widget/AdapterView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/AdapterView.java b/core/java/android/widget/AdapterView.java
index 10a87295ccf5..e20fee5b38d4 100644
--- a/core/java/android/widget/AdapterView.java
+++ b/core/java/android/widget/AdapterView.java
@@ -228,7 +228,6 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup {
super(context, attrs, defStyle);
}
-
/**
* Interface definition for a callback to be invoked when an item in this
* AdapterView has been clicked.
@@ -629,6 +628,7 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup {
/**
* Sets the view to show if the adapter is empty
*/
+ @android.view.RemotableViewMethod
public void setEmptyView(View emptyView) {
mEmptyView = emptyView;