highlight correct menu drawer icon

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2021-12-06 15:03:10 +01:00
parent b3b1b8dbc0
commit b557061410
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -119,6 +119,13 @@ public class TrashbinActivity extends DrawerActivity implements
setupContent();
}
@Override
protected void onResume() {
super.onResume();
setDrawerMenuItemChecked(R.id.nav_trashbin);
}
private void setupContent() {
EmptyRecyclerView recyclerView = binding.list;
recyclerView.setEmptyView(binding.emptyList.emptyListView);