Permalink
Browse files

Fix #220.

Don't remove Empty View from View Hierarchy, leave it up to the dev.
  • Loading branch information...
1 parent 5229b27 commit ee10c53107a50574975c5b4fb619dcd3364a7a9c @chrisbanes committed Jan 27, 2013
@@ -168,11 +168,6 @@ public void setAdapter(ListAdapter adapter) {
public final void setEmptyView(View newEmptyView) {
FrameLayout refreshableViewWrapper = getRefreshableViewWrapper();
- // If we already have an Empty View, remove it
- if (null != mEmptyView) {
- refreshableViewWrapper.removeView(mEmptyView);
- }
-
if (null != newEmptyView) {
// New view needs to be clickable so that Android recognizes it as a
// target for Touch Events

0 comments on commit ee10c53

Please sign in to comment.