Remove loading spinner in SwipeRefreshLayout

Labe picture Labe · Feb 18, 2015 · Viewed 25.8k times · Source

I use a SwipeRefreshLayout to reload the content of a listview. It works and the onRefreshListener is triggered but the small loading spinner that appears onswipe doesn't want to dismiss after the loading is complete. Is there a way to make it go ?

Edit : fixed SwipeView means SwipeRefreshLayout

Answer

MineConsulting SRL picture MineConsulting SRL · Feb 18, 2015

Do you mean SwipeRefreshLayout? if so use SwipeRefreshLayout.setRefreshing(false)