Commit 983e7d18 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Added a progress bar to the query log

parent c7fed897
......@@ -61,6 +61,7 @@ class QueryLogListFragment: Fragment(), SearchView.OnQueryTextListener {
list.layoutManager = LinearLayoutManager(requireContext())
list.adapter = unfilteredAdapter
progress.visibility = View.GONE
}
private fun createAdapter(source:LiveDataSource<DnsQuery>): RecyclerView.Adapter<DefaultViewHolder> {
......
......@@ -8,6 +8,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:layout_width="64dp"
android:id="@+id/progress"
android:layout_height="64dp" />
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:id="@+id/list"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment