I have two fragment 1. Test Fragment 2. Test Detail Fragment
1. Test Fragment I would like to display
2. Test Detail Fragment I wiould like to display
In my kotlin app with room database entity Test and TestDetails. How do i create dao and view model and get that value into fragment?