RecyclerView with multiple layouts, insert/delete function and click listener
问题 I am developing a job estimation app which stores information in a room database and holds a reference to it via a RecyclerView which user can use to access the data and make changes if needed. I am retrieving a reference to the information using Live Data via a view model with Observer method inside a Fragment. This information is stored in a database when the user completes a form and presses the save button. Currently I have developed two standard adapters, with different data sets and