Scroll up does not work with SwipeRefreshLayout in Listview

后端 未结 10 1490
失恋的感觉
失恋的感觉 2020-12-01 10:36

I want to implement scroll to refresh functionality with a listView. Also there are other view elements in the same layout file which are displayed if the list is empty. Her

10条回答
  •  孤街浪徒
    2020-12-01 10:48

    Basically, we want to scroll something scrollable. We can put all views in ScrollView.

    
    
        
    
            
    
            
        
    
    

    But scrolling ListView may require some modifications - wrap_content ListView

提交回复
热议问题