Watch Part 1: • Android Room Pre-populate + RecyclerView +...
Android NavigationView + RecyclerView Menu From Room Database + LiveData
Today I will show you how to use RecyclerView to display the NavigationView menu items,
this tutorial is continuation will be continuation of part one which is how to pre-populate room database
please watch the first part so you can understand this second part.
Step 1: Create DrawerMenu model
Step 2: Modify the MovieDao to add our menu query
Step 3: Modify the NavigationView in the main activity layout
Step 4: Modify the Repository to load menu items
Step 5: Create new MainActivity ViewModel
Step 6: Create the Drawer Menu Adapter
Step 7: Setup main activity to display the new menu list