<i have an error while using roomDB in kotlin> im ...
# stackoverflow
u
i have an error while using roomDB in kotlin im learning using room db in kotlin i have written all codes similar to my learning course step by step except one : in my ViewModeFactory class , i couldn't put the safe call operator in here , cause an error whould have shown :(in below : safe call operator must be put after ViewModel) override fun create(modelClass: Class): T {} when i don't put any safe call operator , the error disappears . but when i run my app , this error will apear : error: Type of the parameter must be a class...