Skip to content
Snippets Groups Projects
Commit dd585dc8 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix warning in history view layout

parent 9e577bb4
No related branches found
No related tags found
Loading
......@@ -33,7 +33,7 @@
android:paddingLeft="@dimen/listview_side_padding"
android:paddingRight="@dimen/listview_side_padding" />
<TextView
android:id="@+id/android:empty"
android:id="@+id/empty"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@+id/searchButton"
......
......@@ -72,7 +72,7 @@ public class HistoryFragment extends MediaBrowserFragment<HistoryModel> implemen
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
mEmptyView = view.findViewById(android.R.id.empty);
mEmptyView = view.findViewById(R.id.empty);
mRecyclerView = view.findViewById(android.R.id.list);
viewModel = ViewModelProviders.of(requireActivity(), new HistoryModel.Factory(requireContext())).get(HistoryModel.class);
viewModel.getDataset().observe(this, new Observer<List<MediaWrapper>>() {
......
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