Fixed. Some message dissapear from list view as 'loading' and 'nothing in here...'
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / fragment / ExtendedListFragment.java
index 3b5429f..02f4103 100644 (file)
@@ -76,12 +76,18 @@ implements OnItemClickListener, OnEnforceableRefreshListener {
     }
 
     public void setFooterView(View footer) {
-        // TODO find solution
         imageView.addFooterView(footer, null, false);
         imageView.invalidate();
     }
 
+    public void removeFooterView(View footer) {
+        imageView.removeFooterView(footer);
+        imageView.invalidate();
+    }
 
+    public int getFooterViewCount() {
+        return imageView.getFooterViewCount();
+    }
     
     protected void switchImageView(){
        imageView.setNumColumns(GridView.AUTO_FIT);