Skip to content
Snippets Groups Projects
Commit 61c3fac2 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix history state on resume

parent 0a22c1e4
No related branches found
No related tags found
2 merge requests!86WIP: Fix history state on resume,!85Fix history state on resume
Pipeline #6606 passed with stage
in 4 minutes and 34 seconds
......@@ -118,6 +118,11 @@ class HistoryFragment : MediaBrowserFragment<HistoryModel>(), IRefreshable, IHis
override fun clear() {}
override fun onResume() {
super.onResume()
refresh()
}
private fun updateEmptyView() {
if (mHistoryAdapter.isEmpty()) {
swipeRefreshLayout!!.visibility = View.GONE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment